mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 08:08:53 -05:00
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: Oran Agra <oran@redislabs.com>
This commit is contained in:
parent
5f69ce0d8e
commit
df327b8bd5
@ -396,6 +396,8 @@ void expireSlaveKeys(void) {
|
||||
activeExpireCycleTryExpire(server.db+dbid,expire,start))
|
||||
{
|
||||
expired = 1;
|
||||
/* DELs aren't propagated, but modules may want their hooks. */
|
||||
postExecutionUnitOperations();
|
||||
}
|
||||
|
||||
/* If the key was not expired in this DB, we need to set the
|
||||
|
Loading…
Reference in New Issue
Block a user