-
Notifications
You must be signed in to change notification settings - Fork 387
vinyl: le/lt iterator crashes in vy_mem_iterator_restore #2614
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
Comments
alyapunov
added a commit
that referenced
this issue
Jul 21, 2017
Fix a bug in restoration LE/LT when last_stmt is not in the mem (it came from another mem or run). Fix a bug in restoration after EOF reached. Add a unit test of mem_iterator_restore. Fixes #2614
rtsisyk
pushed a commit
that referenced
this issue
Jul 25, 2017
Fix a bug in restoration LE/LT when last_stmt is not in the mem (it came from another mem or run). Fix a bug in restoration after EOF reached. Add a unit test of mem_iterator_restore. Fixes #2614
This problem has been partially fixed. However, setting count = 10000000 in the example above still crashes Vinyl :( |
|
Gerold103
added a commit
that referenced
this issue
Aug 1, 2017
And fix a bug in vy_cache_iterator_restore, which could ignore restore to a previous statement. Needed for #2614
Gerold103
added a commit
that referenced
this issue
Aug 1, 2017
If the iterator type is ITER_LE and a run_iterator can not find a start page (all page min_keys are >= select key), it would iterate over all pages starting from the last. Fix it by setting search_ended flag at the page search phase, before calling next_key. Closes #2614
Gerold103
added a commit
that referenced
this issue
Aug 1, 2017
If the iterator type is ITER_LE and a run_iterator can not find a start page (all page min_keys are >= select key), it would iterate over all pages starting from the last. Fix it by setting search_ended flag at the page search phase, before calling next_key. Closes #2614
rtsisyk
pushed a commit
that referenced
this issue
Aug 2, 2017
And fix a bug in vy_cache_iterator_restore, which could ignore restore to a previous statement. Needed for #2614
rtsisyk
pushed a commit
that referenced
this issue
Aug 2, 2017
If the iterator type is ITER_LE and a run_iterator can not find a start page (all page min_keys are >= select key), it would iterate over all pages starting from the last. Fix it by setting search_ended flag at the page search phase, before calling next_key. Closes #2614
1.7.4-372-gec8d56c58 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Branch 1.7 commit 4cf7601
Reproducer:
The text was updated successfully, but these errors were encountered: