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

Fix a race tracking whether a tree has updates after a checkpoint

    • 13
    • Storage - Ra 2022-05-30, Storage Engines - 2022-08-22
    • v6.0, v5.0, v4.4, v4.2

      In a build failure on MongoDB master, we observed the following behavior:

      • There is a validation failure on the local.replset.initialSyncId collection. That collection is unusual in a few different ways:
        • It is an immediately durable (journaled) collection.
        • It only ever has a single document in it.
      • Writes to the collection are not done at a timestamp.
      • The validation failure tends to happen shortly after startup, and results in either the value in the collection or index not being found by the validation.
      • The document and its index are inserted as part of a single WiredTiger transaction, so they should either both be visible or neither - that's a guarantee that WiredTiger gives, which is not being honored here.

        1. BFG-1156158.printlog.txt
          724 kB
        2. BFG-1162322.printlog.txt
          660 kB
        3. BFG-1163020.printlog.txt
          495 kB
        4. BFG-1171205.printlog.txt
          686 kB
        5. bf25011_repro.diff
          8 kB
        6. patch.printlog.txt
          836 kB
        7. clean_page_fix.patch
          6 kB
        8. Screen Shot 2022-08-08 at 4.24.00 pm.png
          Screen Shot 2022-08-08 at 4.24.00 pm.png
          102 kB

            Assignee:
            ruby.chen@mongodb.com Ruby Chen
            Reporter:
            tammy.bailey@mongodb.com Tammy Bailey (Inactive)
            Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            26 Start watching this issue

              Created:
              Updated:
              Resolved: