mirror of
https://github.com/fluencelabs/redis
synced 2025-07-03 02:41:33 +00:00
test adapted to run with diskstore, and a few bugs fixed
This commit is contained in:
@ -456,7 +456,7 @@ void *dsRdbSave_thread(void *arg) {
|
||||
/* Use RENAME to make sure the DB file is changed atomically only
|
||||
* if the generate DB file is ok. */
|
||||
if (rename(tmpfile,filename) == -1) {
|
||||
redisLog(REDIS_WARNING,"Error moving temp DB file on the final destination: %s", strerror(errno));
|
||||
redisLog(REDIS_WARNING,"Error moving temp DB file on the final destination: %s (diskstore)", strerror(errno));
|
||||
unlink(tmpfile);
|
||||
dsRdbSaveSetState(REDIS_BGSAVE_THREAD_DONE_ERR);
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user