test/format: Skip mirror verify after a pure follower workload

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0
    • Affects Version/s: None
    • Component/s: Test Format
    • None
    • Storage Engines - Foundations
    • 70.483
    • None
    • None

      In test format, we may run a workload in a follower only mode. But because the leader didn't involves in this test so nothing should be persisted and we should skip the verify.

      Context

      Test: format-stress-test-disagg-follower

      Key repro steps:

      • Run disagg with following config (full file CONFIG):
        • disagg.mode=follower
          runs.mirror=1
          # forces table1 to be the plain, non-disagg mirror base
          table1.disagg.enabled=0
          # required alongside it — enabled=0 alone still trips a different config-consistency assert
          table1.runs.source=table  
          # isolates the mechanism from an unrelated confound
          ops.pct.delete=0             
          # 100/1,000 rows self-heal in time; 3,000 fails by 2 keys
          runs.rows=3000                
          runs.timer=1 
      • Run test format + restart (full script run.sh):
        • ./t -c for first round
        • ./t -R -h for second round you'll see the error

      Expected error:

      mirror: 3289/3290 mismatch: table:T00001: {0000003289.00/opqrstuvwxyza}/{000000328-----------------gfed--bazyxwvut}, table:T00002: {0000003290.00/opqrstuvwxy}/{0000003290/LMNOPQRSTUVWXYZA}
      last successful match was 3288

       

       

        1. CONFIG
          0.7 kB
        2. run.sh
          0.6 kB

            Assignee:
            Yury Ershov
            Reporter:
            Albert Song
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: