Add log when foreground compact finishes a file

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines, Storage Engines - Persistence
    • None
    • None
    • 0

      Currently, foreground compaction does not log informational message when it finishes compacting a file.

      While logs exist for skipping files, timeouts, long-running compacts, there is no log to indicate when a file has been compacted and how much space has been reclaimed.

      This ticket was created as an extension of WT-13671. If there is a possibility of creating a shared log for both foreground and background compaction, that would be optimal. Otherwise create a new log visible at WT_VERBOSE_INFO level that includes the uri and the reclaimed space in bytes, likely in __wti_session_compact.

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Mariam Mojid
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: