Lines Matching refs:aof_child_pid
217 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()
223 while(wait3(&statloc,0,NULL) != server.aof_child_pid); in stopAppendOnly()
227 aofRemoveTempFile(server.aof_child_pid); in stopAppendOnly()
228 server.aof_child_pid = -1; in stopAppendOnly()
334 } else if (server.aof_child_pid != -1 || server.rdb_child_pid != -1) { in flushAppendOnlyFile()
430 (server.aof_child_pid != -1 || server.rdb_child_pid != -1)) in flushAppendOnlyFile()
555 if (server.aof_child_pid != -1) in feedAppendOnlyFile()
1267 if (server.aof_child_pid != -1 || server.rdb_child_pid != -1) return C_ERR; in rewriteAppendOnlyFileBackground()
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()
1499 server.aof_child_pid = -1; in backgroundRewriteDoneHandler()