|
Author:
{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}
Message: SERVER-15570 Avoid querying system.indexes in ttl.cpp.
Changed so that the TTL indexes are processed in multiple phases:
- Acquire an IS-mode lock on the database and find all of the
TTL indexes
For each TTL index,
- Acquire an IX-mode lock on the collection and delete all of the
expired documents
Also avoid checking `userFlags` of collection stats in TTL index
tests since it is not set by some storage engines.
Branch: master
https://github.com/mongodb/mongo/commit/1a44dc6a150524de75dd46c8dc464c7182a37389
|