Fix uri comparison in background compaction

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • WT11.2.0, 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: Compaction
    • None
    • TheMoon-StorEng - 2023-09-19
    • 2

      WT-11343 introduced the hash containing the compaction statistics for each table that background compaction visits. The list incorrectly compares uri's when fetching an existing entry in the hash.
      The functions _wt_background_compact_start and _wt_background_compact_end should be updated to fetch the URI from session->dhandle->name instead of bm->block->name as the block manager does not store the prefix of the URI.

              Assignee:
              Sean Watt
              Reporter:
              Sean Watt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: