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

Add log when background compact finishes a file

    • 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 background compact thread relies on the session compact API for most of the diagnostic logging. Currently compact will only log info messages by default in MDB when:

      • Compact is taking more than 20seconds on a file (compact_progress)
      • Compact skips a file because there is no work to do
      • Compact times out 

       

      It is useful for the user to know when background compact has compacted a file and how much space it has reclaimed. We should add a info level log messages in wt_background_compact_end when the compact API call has returned to the background compact thread.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            sean.watt@mongodb.com Sean Watt
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: