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

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

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT10.0.1, 5.0.4, 4.4.10, 5.1.0-rc0
    • None
    • None
    • 8
    • Storage - Ra 2021-09-20, Storage - Ra 2021-10-04

    Description

      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. 

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: