Skip to content
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

PS-9297 Lost a record while scanning in reverse order on cursor #5348

Open
wants to merge 1 commit into
base: release-8.0.37-29
Choose a base branch
from

Commits on Jul 5, 2024

  1. PS-9297 Lost a record while scanning in reverse order on cursor

    https://perconadev.atlassian.net/browse/PS-9297
    
    Problem
    ========
    If the last user record on the prev leaf is pessimistically updated during move_backward_from_page, the record may be deleted from the prev leaf and reinserted into the current page. Scanning in reverse order will miss this record.
    
    Cause
    ========
    Same as PS-9092, move_backward_from_page cannot sense that records are moved from the prev leaf to the current leaf.
    
    Solution
    ========
    If btr_insert_into_right_sibling causes records to move between pages, prevent the next page from being optimistically accessed
    zhangruyi.vedb committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    8e03ddc View commit details
    Browse the repository at this point in the history