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

Update the compact session API with a "free_space_target" option

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.2.0, 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: Compaction
    • None
    • 5
    • StorEng - 2023-08-08

      Tasks:

      • Update the compaction session API with a new field called "free_space_target". This corresponds to the minimum amount of space recoverable.
      • Update/create compact tests to verify if compaction proceeds. Use the logs and the file size to verify this.
      • Test for invalid inputs

      Definition of done:

      • One can define the free_space_target option when calling foreground compaction
      • Compaction is performed only if that threshold is met
      • A message is logged if the criterion is met/unmet

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: