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

Fix uri comparison in background compaction

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

      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@mongodb.com Sean Watt
            Reporter:
            sean.watt@mongodb.com Sean Watt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: