Skip to content

Commit 7e6ec5f

Browse files
committed
Hotfix for modeldel and scriptdel replication
1 parent ab15743 commit 7e6ec5f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/redisai.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,8 @@ int RedisAI_ModelDel_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv,
799799
RedisAI_FreeRunStats(ctx, rstats);
800800
}
801801

802+
RedisModule_ReplicateVerbatim(ctx);
803+
802804
return RedisModule_ReplyWithSimpleString(ctx, "OK");
803805
}
804806

@@ -1344,6 +1346,8 @@ int RedisAI_ScriptDel_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv
13441346
RedisAI_FreeRunStats(ctx, rstats);
13451347
}
13461348

1349+
RedisModule_ReplicateVerbatim(ctx);
1350+
13471351
return RedisModule_ReplyWithSimpleString(ctx, "OK");
13481352
}
13491353

0 commit comments

Comments
 (0)