-
Notifications
You must be signed in to change notification settings - Fork 574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CompleteCheckpoint(true) never completes for CheckpointStrategy.FoldOver #153
Comments
Is this an issue with 'variable length structs' as well? |
I am sure that I encountered this with both variable length structs and when using object log, I don't remember if I tested fixed length key/values. |
Created gists that reproduces the issue: |
I ran the repro for fixed size (x64, debug/release, net46) around 10 times, no error. Can you try the same config and see? |
I can reliably reproduce this with x64/release/(net46,net472). The first time the app is run it finishes within a second, in case of the second and subsequent times - I give up after 10-15 secs and kill the process (when I first encountered it I waited for 15 minutes [went for lunch] it did not complete).
My little investigation shows the following:
|
I've just checked that this seems to have been fixed in master branch (by #144) - all of my tests were done with latest release (2019.4.24.4). |
I've noticed that sometimes
CompleteCheckpoint(true)
is stuck inWAIT_FLUSH
whenFoldOver
strategy is used. The most consistent way for me to reproduce was:Upsert
a key/valueCompleteCheckpoint(true)
Recover
Read
a key/valueTakeFullCheckpoint
andCompleteCheckpoint(true)
It seems as if there were no changes in the session then there is nothing to write to checkpoint but it still tries to wait for flush which never happens. This had happened to me (a few times though inconsistently) even for cases where other sessions were writing key/values.
The text was updated successfully, but these errors were encountered: