Fix assertion during recovery if snapshot has > 255 txns

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • WT11.0.0, 5.3.0, 5.2.0-rc4
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None

      If you leave 256 or more transactions open, and take a checkpoint, and then try to recover to that checkpoint, the code that reads the snapshot for calling rollback-to-stable asserts. This is because the counter used is accidentally only 8 bits wide.

      Note that to have 256 transactions open you have to configure more sessions than the default, but it's easy to do that.

              Assignee:
              Unassigned
              Reporter:
              David Holland
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: