-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.4.5, 2.5.3
-
Component/s: Index Maintenance, Performance, Storage
-
None
Analogous to SERVER-8418 (which was implemented later than TTL feature existed) expireAfterSeconds index creation should trigger setting powers of 2 sizes flag on collection.
This would eliminate the SERVER-8418 solution which causes TTL to run every minute and query every database in case the flag needs to be set (on secondaries as well as primaries).
With systems that have large number of databases this is very painful performance-wise.
- is related to
-
SERVER-9184 Cleanup TTL logic/locking
- Closed
- related to
-
SERVER-10727 Cleanup TTL internals
- Closed