MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / preventCommandPropagation

Function preventCommandPropagation

src/server.cpp:4430–4432  ·  view source on GitHub ↗

Avoid that the executed command is propagated at all. This way we * are free to just propagate what we want using the alsoPropagate() * API. */

Source from the content-addressed store, hash-verified

4428 * are free to just propagate what we want using the alsoPropagate()
4429 * API. */
4430void preventCommandPropagation(client *c) {
4431 c->flags |= CLIENT_PREVENT_PROP;
4432}
4433
4434/* AOF specific version of preventCommandPropagation(). */
4435void preventCommandAOF(client *c) {

Callers 5

xreadCommandFunction · 0.85
xclaimCommandFunction · 0.85
xautoclaimCommandFunction · 0.85
spopWithCountCommandFunction · 0.85
evalGenericCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected