[SERVER-82846] Add the new compaction "freeSpaceTargetMB" option to the compact indexes Created: 06/Nov/23  Updated: 26/Dec/23  Resolved: 15/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: Etienne Petrel Assignee: Sean Watt
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-80120 Add the new compaction "freeSpaceTarg... Closed
Backwards Compatibility: Fully Compatible
Sprint: c(3x10^8)-StorEng - 2023-11-14, 2023-11-28 - Anthill Tiger
Participants:
Story Points: 3

 Description   

This part is missing from SERVER-80120. There is at least another compact call that should use the new freeSpaceTargetMB option. This is the list of all the compact calls without the new option:

src/mongo/db/catalog/index_catalog_impl.cpp:1991:        Status status = entry->accessMethod()->compact(opCtx);
src/mongo/db/index/index_access_method.cpp:735:    return this->_newInterface->compact(opCtx);
src/mongo/db/index/columns_access_method.cpp:512:    return _store->compact(opCtx);
src/mongo/scripting/mozjs/mongo.cpp:588:    ptr->compact(cx, args);



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

Author:

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

Message: SERVER-82846 Add the new compaction "freeSpaceTargetMB" option to the compact indexes
Branch: master
https://github.com/mongodb/mongo/commit/18670f49f90188df57430b7ac12c5094d2e8b0b8

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