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

Function hasActiveChildProcessOrBGSave

src/server.cpp:1731–1733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1729}
1730
1731int hasActiveChildProcessOrBGSave() {
1732 return g_pserver->FRdbSaveInProgress() || hasActiveChildProcess();
1733}
1734
1735void resetChildState() {
1736 g_pserver->child_type = CHILD_TYPE_NONE;

Callers 10

lookupKeyUpdateObjFunction · 0.85
rdbSaveBackgroundFunction · 0.85
rdbSaveToSlavesSocketsFunction · 0.85
syncCommandFunction · 0.85
serverCronFunction · 0.85
startAppendOnlyFunction · 0.85
flushAppendOnlyFileFunction · 0.85
bgrewriteaofCommandFunction · 0.85

Calls 2

hasActiveChildProcessFunction · 0.85
FRdbSaveInProgressMethod · 0.80

Tested by

no test coverage detected