mirror of
https://github.com/fluencelabs/redis
synced 2025-06-14 09:41:21 +00:00
fixed a few bugs in DS store, now it's somewhat about able to reply to 'GET foo' with a bogus value.
This commit is contained in:
@ -1050,7 +1050,9 @@ int prepareForShutdown() {
|
||||
kill(server.bgsavechildpid,SIGKILL);
|
||||
rdbRemoveTempFile(server.bgsavechildpid);
|
||||
}
|
||||
if (server.appendonly) {
|
||||
if (server.ds_enabled) {
|
||||
/* FIXME: flush all objects on disk */
|
||||
} else if (server.appendonly) {
|
||||
/* Append only file: fsync() the AOF and exit */
|
||||
aof_fsync(server.appendfd);
|
||||
} else if (server.saveparamslen > 0) {
|
||||
|
Reference in New Issue
Block a user