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

storage/engine: invalidate cached iterator state when necessary #28794

Merged
merged 1 commit into from Aug 18, 2018

Commits on Aug 18, 2018

  1. storage/engine: invalidate cached iterator state when necessary

    `Iterator.{MVCCGet,MVCCScan,FindSplitKey,ComputeStats}` need to
    invalidate the cached iterator state. They were previously failing to do
    so which could lead to rare scenarios where a key could be considered
    present in the database which had never been written.
    
    Fixes cockroachdb#28025
    
    Release note (bug fix): Fix rare scenario where the value written for
    one system key was seen when another system key was read leading to the
    violation of internal invariants.
    petermattis committed Aug 18, 2018
    Copy the full SHA
    b1aaee4 View commit details
    Browse the repository at this point in the history