mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 13:31:32 +00:00
New in INFO: aof_last_bgrewrite_status
Behaves like rdb_last_bgsave_status -- even down to reporting 'ok' when no rewrite has been done yet. (You might want to check that aof_last_rewrite_time_sec is not -1.)
This commit is contained in:
committed by
antirez
parent
889e443ce5
commit
f00b0844c9
@ -517,6 +517,7 @@ struct redisServer {
|
||||
time_t aof_last_fsync; /* UNIX time of last fsync() */
|
||||
time_t aof_rewrite_time_last; /* Time used by last AOF rewrite run. */
|
||||
time_t aof_rewrite_time_start; /* Current AOF rewrite start time. */
|
||||
int aof_lastbgrewrite_status; /* REDIS_OK or REDIS_ERR */
|
||||
unsigned long aof_delayed_fsync; /* delayed AOF fsync() counter */
|
||||
/* RDB persistence */
|
||||
long long dirty; /* Changes to DB from the last save */
|
||||
|
Reference in New Issue
Block a user