mirror of
https://github.com/fluencelabs/redis
synced 2025-06-18 03:31:21 +00:00
test adapted to run with diskstore, and a few bugs fixed
This commit is contained in:
@ -529,7 +529,10 @@ int rewriteAppendOnlyFileBackground(void) {
|
||||
pid_t childpid;
|
||||
|
||||
if (server.bgrewritechildpid != -1) return REDIS_ERR;
|
||||
redisAssert(server.ds_enabled == 0);
|
||||
if (server.ds_enabled != 0) {
|
||||
redisLog(REDIS_WARNING,"BGREWRITEAOF called with diskstore enabled: AOF is not supported when diskstore is enabled. Operation not performed.");
|
||||
return REDIS_ERR;
|
||||
}
|
||||
if ((childpid = fork()) == 0) {
|
||||
/* Child */
|
||||
char tmpfile[256];
|
||||
|
Reference in New Issue
Block a user