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

The background compaction server tries to compact invalid files

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.2.0, 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: Compaction
    • Labels:
      None
    • 2
    • StorEng - 2023-08-08

      The tests in WT-11334 found a bug in the background compaction implementation introduced by WT-11342.

      Those changes are incorrect as they are overriding the ret value that can be set to WT_NOTFOUND. The value WT_NOTFOUND can be set when a file with a different prefix than file: is found. Since the ret value is overridden, compaction is called with an invalid file.

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

              Created:
              Updated:
              Resolved: