[SERVER-80121] Create the background compaction API Created: 16/Aug/23  Updated: 11/Jan/24  Resolved: 29/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Sean Watt
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on WT-12005 Fix memory leak in __wt_background_co... Closed
depends on WT-11332 Update the compact session API with a... Closed
depends on WT-11334 Update the compact session API with a... Closed
is depended on by SERVER-80124 Measure performance impact of backgro... In Progress
is depended on by SERVER-83548 Exclude the oplog when executing the ... Closed
Documented
Related
Tested
tested by SERVER-83318 Enable auth testing for autoCompact c... Closed
Backwards Compatibility: Fully Compatible
Sprint: c(3x10^8)-StorEng - 2023-11-14, 2023-11-28 - Anthill Tiger, 2023-12-12 - Heisenbug
Participants:
Story Points: 13

 Description   

A new API will be created to enable and disable background compaction. A prototype of the API can be found below:

db.runCommand
(
    {
        autoCompact: <boolean>,
        freeSpaceTargetMB: <number>, // Optional, minimum space available to reclaim from each table in MB, default is 20MB.
    }
)

 and we'll need to hook this up to WT.

 



 Comments   
Comment by Githook User [ 29/Nov/23 ]

Author:

{'name': 'Sean04', 'email': 'sean.watt@mongodb.com', 'username': 'Sean04'}

Message: SERVER-80121 Create the background compaction API
Branch: master
https://github.com/mongodb/mongo/commit/0fb71f7f6f26c0d9c585653c5889040557b4ac07

Generated at Thu Feb 08 06:42:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.