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
| 1851 | * |
| 1852 | * The function always returns REDISMODULE_OK. */ |
| 1853 | int RM_ReplicateVerbatim(RedisModuleCtx *ctx) { |
| 1854 | alsoPropagate(ctx->client->cmd,ctx->client->db->id, |
| 1855 | ctx->client->argv,ctx->client->argc, |
| 1856 | PROPAGATE_AOF|PROPAGATE_REPL); |
| 1857 | server.dirty++; |
| 1858 | return REDISMODULE_OK; |
| 1859 | } |
| 1860 | |
| 1861 | /* -------------------------------------------------------------------------- |
| 1862 | * ## DB and Key APIs -- Generic API |
nothing calls this directly
no test coverage detected