[SERVER-11732] TTL indexes should imply usePowersOf2sizes Created: 15/Nov/13  Updated: 30/Dec/14  Resolved: 30/Dec/14

Status: Closed
Project: Core Server
Component/s: Index Maintenance, Performance, Storage
Affects Version/s: 2.4.5, 2.5.3
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Asya Kamsky Assignee: Daniel Pasette (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-10727 Cleanup TTL internals Closed
is related to SERVER-9184 Cleanup TTL logic/locking Closed
Participants:

 Description   

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.



 Comments   
Comment by Scott Hernandez (Inactive) [ 30/Dec/14 ]

This is no longer needed due to other changes, most notably defaulting new collections to powerof2, and new storage engines.

Generated at Thu Feb 08 03:26:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.