|
|
|
|
|
by CuriousCosmic
891 days ago
|
|
nope. since if the wal you are checkpointing isn't done yet, you just wait to "lock" and switch files until that operation is complete. Checkpointing can be considered "lock free" since the operation will always eventually complete. How long it takes will depend on the wal file being checkpointed into the db but it'll eventually complete in some finite amount of time. Because you know that any given checkpointing operation has to eventually complete, you can simply keep appending to the current "append" wal file and then tackle those changes when you finish the current checkpoint op (at which point the wal file you just finished checkpointing is free to take the appends). |
|