Skip to content
Snippets Groups Projects
Commit 686814ea authored by Vladimir Davydov's avatar Vladimir Davydov
Browse files

vinyl: do not release latch in the middle of vylog rotate

vy_log_rotate() releases the log latch between reading the last vylog
file and writing the new vylog file. This works as long as the latch
implementation guarantees that latch_lock() called immediately after
latch_unlock() on the same lock doesn't yield. Although this is true
now, we shouldn't rely on that, because this may change any time.
parent c85a75aa
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment