Home
last modified time | relevance | path

Searched refs:aof_child_pid (Results 1 – 6 of 6) sorted by relevance

/redis-3.2.3/src/
H A Daof.c217 if (server.aof_child_pid != -1) { in stopAppendOnly()
221 (long) server.aof_child_pid); in stopAppendOnly()
222 if (kill(server.aof_child_pid,SIGUSR1) != -1) { in stopAppendOnly()
227 aofRemoveTempFile(server.aof_child_pid); in stopAppendOnly()
228 server.aof_child_pid = -1; in stopAppendOnly()
555 if (server.aof_child_pid != -1) in feedAppendOnlyFile()
1304 server.aof_child_pid = childpid; in rewriteAppendOnlyFileBackground()
1318 if (server.aof_child_pid != -1) { in bgrewriteaofCommand()
1372 (int)server.aof_child_pid); in backgroundRewriteDoneHandler()
1498 aofRemoveTempFile(server.aof_child_pid); in backgroundRewriteDoneHandler()
[all …]
H A Dserver.c708 if (server.rdb_child_pid == -1 && server.aof_child_pid == -1) in updateDictResizePolicy()
1029 if (server.rdb_child_pid == -1 && server.aof_child_pid == -1) { in databasesCron()
1173 if (server.rdb_child_pid == -1 && server.aof_child_pid == -1 && in serverCron()
1197 (int) server.aof_child_pid); in serverCron()
1200 } else if (pid == server.aof_child_pid) { in serverCron()
1236 server.aof_child_pid == -1 && in serverCron()
1923 server.aof_child_pid = -1; in initServer()
2566 if (server.aof_child_pid != -1) { in prepareForShutdown()
2575 kill(server.aof_child_pid,SIGUSR1); in prepareForShutdown()
3017 server.aof_child_pid != -1, in genRedisInfoString()
[all …]
H A Drdb.c922 if (server.aof_child_pid != -1 || server.rdb_child_pid != -1) return C_ERR; in rdbSaveBackground()
1589 if (server.aof_child_pid != -1 || server.rdb_child_pid != -1) return C_ERR; in rdbSaveToSlavesSockets()
1761 } else if (server.aof_child_pid != -1) { in bgsaveCommand()
H A Dreplication.c679 if (server.aof_child_pid == -1) { in syncCommand()
2369 if (server.rdb_child_pid == -1 && server.aof_child_pid == -1) { in replicationCron()
H A Ddb.c56 server.aof_child_pid == -1 && in lookupKey()
H A Dserver.h807 pid_t aof_child_pid; /* PID if rewriting process */ member