Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-8595

Fix assertion during recovery if snapshot has > 255 txns

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • WT11.0.0, 5.3.0, 5.2.0-rc4
    • Affects Version/s: None
    • Component/s: 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 Unassigned
            Reporter:
            dholland+wt@sauclovia.org David Holland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: