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

Function execCommandPropagateMulti

src/multi.cpp:133–137  ·  view source on GitHub ↗

Send a MULTI command to all the slaves and AOF file. Check the execCommand * implementation for more information. */

Source from the content-addressed store, hash-verified

131/* Send a MULTI command to all the slaves and AOF file. Check the execCommand
132 * implementation for more information. */
133void execCommandPropagateMulti(int dbid) {
134 beforePropagateMulti();
135 propagate(cserver.multiCommand,dbid,&shared.multi,1,
136 PROPAGATE_AOF|PROPAGATE_REPL);
137}
138
139void execCommandPropagateExec(int dbid) {
140 propagate(cserver.execCommand,dbid,&shared.exec,1,

Callers 4

propagateFunction · 0.85
callFunction · 0.85
luaRedisGenericCommandFunction · 0.85

Calls 2

beforePropagateMultiFunction · 0.85
propagateFunction · 0.85

Tested by

no test coverage detected