-
Type:
Improvement
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Index Maintenance, MMAPv1
-
None
-
Storage Execution
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Currently when we compact an index we leave a bit of extra room in every index bucket so that it has room to grow. If you're indexing a key that is always increasing (such as with an ObjectId), nothing will ever get written into any bucket except the right-most one, so it'd be nice to leave all other buckets at 100% capacity so no space is wasted.