Skip to content

Commit

Permalink
Add a description of when an error occurs during Temp PRDB rename from
Browse files Browse the repository at this point in the history
the second trigger
  • Loading branch information
rlagnlrns committed Sep 29, 2020
1 parent 99fc513 commit 4ed9843
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -4049,6 +4049,9 @@ else if (aof && temp_aof && rdb && temp_rdb) {
}
}

/* Exception situation since the second trigger operation- crash occurred during PRDB rename
* list of files - AOF, Temp RDB, PRDB(renamed + not renamed)
* Recovery order - PRDB(renamed), Temp PRDB, AOF */
else if (aof && !temp_aof && rdb && temp_rdb) {
start = ustime();
if (Parallel_rdbLoad(3, NULL) == C_OK) {
Expand Down

0 comments on commit 4ed9843

Please sign in to comment.