MCPcopy Create free account
hub / github.com/F-Stack/f-stack / hasActiveChildProcess

Function hasActiveChildProcess

app/redis-6.2.6/src/server.c:1617–1619  ·  view source on GitHub ↗

Return true if there are active children processes doing RDB saving, * AOF rewriting, or some side process spawned by a loaded module. */

Source from the content-addressed store, hash-verified

1615/* Return true if there are active children processes doing RDB saving,
1616 * AOF rewriting, or some side process spawned by a loaded module. */
1617int hasActiveChildProcess() {
1618 return server.child_pid != -1;
1619}
1620
1621void resetChildState() {
1622 server.child_type = CHILD_TYPE_NONE;

Callers 15

syncCommandFunction · 0.85
activeDefragCycleFunction · 0.85
updateDictResizePolicyFunction · 0.85
databasesCronFunction · 0.85
serverCronFunction · 0.85
redisForkFunction · 0.85
rdbSaveBackgroundFunction · 0.85
rdbSaveToSlavesSocketsFunction · 0.85
bgsaveCommandFunction · 0.85
lookupKeyFunction · 0.85
startAppendOnlyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected