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

Create background compaction stats to reflect why a file is skipped

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Compaction
    • Storage Engines
    • StorEng - Defined Pipeline

      The stat background compact skipped file as not meeting requirements for compaction can be incremented for two reasons:

      • File too small (< 1MB)
      • Compaction is not worth it, we skip it

      It would be helpful to know why we are skipping a file and not have one stat that encompasses all scenarios.

      Furthermore, if we decide to skip a file after compaction was not successful (enough), it would be great to have a stat for it.

      We should end up with:

      • A dedicated stat for each reason why we are skipping a file
      • A dedicated stat whenever a file is skipped because it has been decided it's not worth looking into it for some time.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: