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

Testy mirror mismatch between overflow items

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Test Testy
    • 5
    • Asparagus-StorEng - 2023-10-31

      Since Testy is still not a mature framework, this could be a false positive but it deserves investigation to make sure.

      To get to the artifacts and check the mismatch using testy:

      fab launch-snapshot --snapshot-id=snap-09aac2847e7c4d77f
      # Log to the newly created host
      cd /srv/testy/
      export PYTHONPATH=/srv/testy/wiredtiger/build/lang/python:/srv/testy/wiredtiger/tools:$PYTHONPATH
      sudo -HE env PATH=$PATH PYTHONPATH=$PYTHONPATH python3 wiredtiger/tools/wt_cmp_uri.py data/table:table_XPox8 data/table:table_XPox8_mirror
      

      This should give you the following output:

      for key=0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, value is different: data/table:table_XPox8: ouVuX8oX1HUCmBc1m9ZfY5tTJq0sxxQpQFAwzOAAzxPtS0xSseFSScU8vBWa26qT6ZqrHFRpoXK4b8aPEXyOwC22aUuRw3M6HQw3..., data/table:table_XPox8_mirror: U5LKTgNCfyzAI08Ge4bfAtYxMV9NssY81hcc0g7R05ZYJFA2C8ChtGpPVeoJWmTLcn7CWJiMtk7txCAd4cvXFwfKM4T297YSvIgg...
      48 records read
      

      The two values for that key are marked as value/ovfl.

      Some context about how Testy works:

      • A workgen workload runs continuously
      • Snapshots of the instance are taken periodically, this means we the database is very likely to have unstable data at the time of the snapshot
      • We run recovery on the database and verify using the wt utility tool
      • We execute the validate_mirror_tables.py script to validate the mirrors - this is where the mismatch is discovered

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: