Commit 3a6f0032 authored by guybe7's avatar guybe7 Committed by Oran Agra
Browse files

Call postExecutionUnitOperations in active-expire of writable replicas (#11615)



We need to honor the post-execution-unit API and call it after each KSN

Note that this is an edge case that only happens in case volatile keys were
created directly on a writable replica, and that anyway nothing is propagated to sub-replicas
Co-authored-by: default avatarOran Agra <oran@redislabs.com>
(cherry picked from commit df327b8b)
parent 4d5a4e4b
......@@ -425,6 +425,9 @@ void expireSlaveKeys(void) {
if ((cycles % 64) == 0 && mstime()-start > 1) break;
if (dictSize(slaveKeysWithExpire) == 0) break;
}
/* DELs aren't propagated, but modules may want their hooks. */
propagatePendingCommands();
}
/* Track keys that received an EXPIRE or similar command in the context
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment