- 
    Type:New Feature 
- 
    Resolution: Fixed
- 
    Priority:Major - P3 
- 
    Affects Version/s: None
- 
    Component/s: Compaction
- 
    None
- 
        StorEng - 2023-08-08
- 
        5
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
- causes
- 
                     WT-12058
        The header test_compact05.py is incorrect WT-12058
        The header test_compact05.py is incorrect-         
- Closed
 
-         
- depends on
- 
                     WT-11369
        Update the utility compact command to take a configuration string WT-11369
        Update the utility compact command to take a configuration string-         
- Closed
 
-         
- is depended on by
- 
                    WT-11333 Update test/format to generate random compaction "free_space_target" values for foreground compaction -         
- Closed
 
-         
- 
                    SERVER-80120 Add the new compaction "freeSpaceTargetMB" option to the compact API -         
- Closed
 
-         
- 
                    SERVER-80121 Create the background compaction API -         
- Closed
 
-         
- related to
- 
                    WT-11399 Fix compact tests for tiered storage -         
- Closed
 
-         
- 
                    SERVER-79570 re-enable interrupt_compact_commands.js -         
- Closed
 
-