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

test/format branch with mirror objects detects torn txn

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage - Ra 2022-01-24

      When running and debugging a failure on a branch that implements mirrored tables in test/format it detects a torn transaction (pretty quickly) with the attached CONFIG.1 when verifying a backup.

      It was only very recent that test/format got the ability to operate on many tables. What this branch of test/format is doing is selecting some subset of N tables to mirror each other on updates. When making those mirror updates to multiple tables, the test is doing so within the same transaction. So all mirror updates should be identical across all mirror tables. That is the failure we're detecting right now, two tables have different values for the same key.

      To be clear, in this case, the backup is acting as an offline checkpoint/recovery verification mechanism. I have no reason to doubt the backup code itself either within WiredTiger or the test.

      I will put details of the failure and reproducing steps in the comments since there is a lot of information.

        1. CONFIG.1
          3 kB
        2. TRACE.CKPT
          7 kB
        3. TRACE.REC
          36 kB
        4. TRACE.VERIFY
          24 kB
        5. WiredTiger.backup
          5 kB

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: