-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
RE: http://docs.mongodb.org/manual/reference/command/compact
The implementation of the "compact" command assumes a set of MMAP-based limitations, such as taking an exclusive database lock and, in the case of a secondary, force in to RECOVERING mode - neither of these actions is essential when running WiredTiger.
Additionally, WiredTiger can release free space back to the storage system without needing to rebuild everything, unlike MMAP, but this ability is not exploited.
Access to these various extra functionality of WiredTiger specifically in regards to compaction is the purpose of this ticket. What form this takes is left for discussion.
- duplicates
-
SERVER-16413 Storage engines that allow online compaction should not take an exclusive lock
- Closed