Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11289

BPlusTree.AbstractForwardCursor can use obsolete page

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7
    • None
    • cache
    • None
    • Docs Required

    Description

      There is a possibility that AbstractForwardCursor.nextPageId refers to a page which was already excluded from the tree. The problem reproduces with a scan query execution with put/remove load in background.

      Linked PR contains a reproducer and some tricks allowing to reproduce the problem more often (it is still possible to reproduce it without tricks but likelihood is significantly lower). The problem becomes evident when a problematic page is taken from REUSE_BUCKET. But there could be other hidden problems which do not cause any runtime errors but lead to data inconsistency.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Pavlukhin Ivan Pavlukhin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: