You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@rubiojr reports here #39 that when using a Reader not obtained from the Writer and while the Writer is still open, the message "error loading snapshot epoch: %d: %v" appears.
The text was updated successfully, but these errors were encountered:
One theory is that as the Writer independently creates new snapshots, when opening a Reader (not via the Writer) it may attempt to open a partially written snapshot file. This would fail the CRC check, and another snapshot is tried.
We should be able to test this theory with a straightforward unit test.
One approach to fix this might be to write new snapshot files with a different extension, and rename them after a complete snapshot has been written. This would prevent new readers from seeing partially written snapshot files.
@rubiojr reports here #39 that when using a Reader not obtained from the Writer and while the Writer is still open, the message "error loading snapshot epoch: %d: %v" appears.
The text was updated successfully, but these errors were encountered: