]> git.saurik.com Git - redis.git/blobdiff - src/redis.h
By default Redis refuses writes with an error if the latest BGSAVE failed (and at...
[redis.git] / src / redis.h
index daaf362fbed47e526007eda6a9d0e343b610bf06..fdf7f08d335ce75c2b89e5d0ca6ed92f72713ef3 100644 (file)
@@ -637,6 +637,7 @@ struct redisServer {
     int rdb_compression;            /* Use compression in RDB? */
     time_t lastsave;                /* Unix time of last save succeeede */
     int lastbgsave_status;          /* REDIS_OK or REDIS_ERR */
+    int stop_writes_on_bgsave_err;  /* Don't allow writes if can't BGSAVE */
     /* Propagation of commands in AOF / replication */
     redisOpArray also_propagate;    /* Additional command to propagate. */
     /* Logging */