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

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.1, 5.1.0
    • Component/s: None
    • Labels:
      None

      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

              Assignee:
              alexey.anisimov Alexey Anisimov
              Reporter:
              alexey.anisimov Alexey Anisimov
              Collaborators:
              Haseeb Bokhari, Ravi Giri
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: