[DOCS-2437] TTL thread does actually run on all RS members Created: 18/Dec/13  Updated: 11/Jan/17  Resolved: 13/Jan/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Minor - P4
Reporter: Jeremy Mikola Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: newwriter
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on DOCS-2486 Update TTL docs for style Closed
Related
is related to DOCS-2194 TTL indexes can delete documents befo... Closed
Participants:
Days since reply: 10 years, 5 weeks, 2 days ago

 Description   

See: src/mongo/db/ttl.cpp

The TTLMonitor thread does run on all RS members. If the member is not a primary, it will return before executing the delete ops.

Perhaps unrelated, but there are several conditions in the run() method which would prevent a thread pass from operating on any databases.



 Comments   
Comment by Githook User [ 13/Jan/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-2437 and DOCS-2194 edits
Branch: v2.4
https://github.com/mongodb/docs/commit/ec6bb4a417ed084641ef0f53860b50f26eec6b91

Comment by Githook User [ 13/Jan/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-2437 and DOCS-2194 edits
Branch: master
https://github.com/mongodb/docs/commit/9ba5a55dda436e89c58903e284b7b34cdc8af469

Generated at Thu Feb 08 07:43:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.