Diskless replication: parent-child pipe and a few TODOs.

This commit is contained in:
antirez
2014-10-14 15:29:07 +02:00
parent 1b4cadb664
commit 51864fcdd7
2 changed files with 35 additions and 4 deletions

View File

@ -716,6 +716,8 @@ struct redisServer {
int rdb_child_type; /* Type of save by active child. */
int lastbgsave_status; /* REDIS_OK or REDIS_ERR */
int stop_writes_on_bgsave_err; /* Don't allow writes if can't BGSAVE */
int rdb_pipe_write_result_to_parent; /* RDB pipes used to return the state */
int rdb_pipe_read_result_from_child; /* of each slave in diskless SYNC. */
/* Propagation of commands in AOF / replication */
redisOpArray also_propagate; /* Additional command to propagate. */
/* Logging */