[DOCS-2194] TTL indexes can delete documents before they finish building Created: 06/Nov/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: | Improvement | Priority: | Major - P3 |
| Reporter: | Gregor Macadam | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | newwriter | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Days since reply: | 10 years, 5 weeks, 2 days ago | ||||||||||||||||
| Description |
|
I've tested and when TTL indexes are built in the background, the TTL thread runs and can delete documents before the index is finished building. When they are built in the foreground, the documents aren't deleted until the index is finished building. (database global lock preventing deletes?) This is not clear from
http://docs.mongodb.org/manual/tutorial/expire-data/ |
| 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: |
| Comment by Githook User [ 13/Jan/14 ] |
|
Author: {u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: |
| Comment by Githook User [ 13/Jan/14 ] |
|
Author: {u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: |
| Comment by Githook User [ 13/Jan/14 ] |
|
Author: {u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: |