This function will replicate the command exactly as it was invoked * by the client. Note that this function will not wrap the command into * a MULTI/EXEC stanza, so it should not be mixed with other replication * commands. * * Basically this form of replication is useful when you want to propagate * the command to the slaves and AOF file exactly as it was called, since * the command can jus
| 1921 | * |
| 1922 | * The function always returns REDISMODULE_OK. */ |
| 1923 | int RM_ReplicateVerbatim(RedisModuleCtx *ctx) { |
| 1924 | alsoPropagate(ctx->client->cmd,ctx->client->db->id, |
| 1925 | ctx->client->argv,ctx->client->argc, |
| 1926 | PROPAGATE_AOF|PROPAGATE_REPL); |
| 1927 | g_pserver->dirty++; |
| 1928 | return REDISMODULE_OK; |
| 1929 | } |
| 1930 | |
| 1931 | /* -------------------------------------------------------------------------- |
| 1932 | * ## DB and Key APIs -- Generic API |
nothing calls this directly
no test coverage detected