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

Fix issue when compact quits when running at the same time as a checkpoint

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.1, 5.0.4, 4.4.10, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 8
    • Storage - Ra 2021-09-20, Storage - Ra 2021-10-04

      There is a CSuite test "wt7989_compact_checkpoint" that reveals the issue when compact operation quits prematurely if run in parallel with a checkpoint.

      In order to reproduce the issue, you'll need to uncomment the assert check at the bottom of 
      "run_test(...)" in "test/csuite/wt7989_compact_checkpoint/main.c", recompile, and run it. To get better visibility you can enable compact verbose messaging by adding "verbose=[compact,compact_progress]" to "conn_config". There're two test cases, one of them fails 100%
       
      The scope of this ticket is to fix the failing test. Please commit the inverted assert in the test module along with the actual fix of the issue. 

        1. WiredTigerStat.13.16.bad
          1.41 MB
        2. WiredTigerStat.13.16.good
          1.50 MB
        3. image-2021-09-20-16-10-22-137.png
          image-2021-09-20-16-10-22-137.png
          60 kB
        4. image-2021-09-20-16-11-58-178.png
          image-2021-09-20-16-11-58-178.png
          53 kB
        5. image-2021-09-20-16-13-50-648.png
          image-2021-09-20-16-13-50-648.png
          74 kB

            Assignee:
            alexey.anisimov@mongodb.com Alexey Anisimov (Inactive)
            Reporter:
            alexey.anisimov@mongodb.com Alexey Anisimov (Inactive)
            Haseeb Bokhari (Inactive), Ravi Giri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: