-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Index Maintenance
-
Integration 11 (03/14/16)
In addition there is no need to take a write lock out unless the setting has to be changed. If power-of-2 allocation is not required for TTL collections we should move this check to the index creation.
This code also doesn't need to check on every iteration like this and would only need to check once per collection.
If we had some internal notification system for collection/index create/delete it would be easier to ensure this without checking all the time.