Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-54378

Report useful information during the compact command

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Logging, Storage
    • Labels:
      None
    • Storage - Ra 2021-11-15
    • 2

      Currently, if the compact does not meet any of the compact algorithm's conditions, we report back bytesFreed = 0.

      It would be helpful to report back the information that is helpful to understand why the compact decided not to compact anything. Be it files too small (less than 1 MB), files where we are unlikely to recover 10% of the file or any other reason for that matter (since the compact algorithm could change over time).

            Assignee:
            ravi.giri@mongodb.com Ravi Giri
            Reporter:
            dmitry.agranat@mongodb.com Dmitry Agranat
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: