mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 13:31:32 +00:00
Fix for a race in BGSAVE that may result in some data not being saved as soon as possible (when the configured saving triggers should fire). Also known as Issue 313, more details there in the google code issue.
This commit is contained in:
@ -335,6 +335,7 @@ struct redisServer {
|
||||
int fd;
|
||||
redisDb *db;
|
||||
long long dirty; /* changes to DB from the last save */
|
||||
long long dirty_before_bgsave; /* used to restore dirty on failed BGSAVE */
|
||||
list *clients;
|
||||
list *slaves, *monitors;
|
||||
char neterr[ANET_ERR_LEN];
|
||||
|
Reference in New Issue
Block a user