diskstore directory structure creation

This commit is contained in:
antirez
2010-12-29 23:00:00 +01:00
parent f63f0928c3
commit ddbc81af33
3 changed files with 33 additions and 3 deletions

View File

@ -1493,7 +1493,9 @@ int main(int argc, char **argv) {
linuxOvercommitMemoryWarning();
#endif
start = time(NULL);
if (server.appendonly) {
if (server.ds_enabled) {
redisLog(REDIS_NOTICE,"Running with disk back end");
} else if (server.appendonly) {
if (loadAppendOnlyFile(server.appendfilename) == REDIS_OK)
redisLog(REDIS_NOTICE,"DB loaded from append only file: %ld seconds",time(NULL)-start);
} else {