[SERVER-19374] TTL Monitor does not yield while deleting expired documents Created: 13/Jul/15 Updated: 07/Nov/15 Resolved: 27/Jul/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance |
| Affects Version/s: | 3.1.3 |
| Fix Version/s: | 3.1.7 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Daniel Pasette (Inactive) | Assignee: | Qingyang Chen |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Sprint: | Quint Iteration 7 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
The TTL Monitor resets the timer on the cursor after every individual document is deleted, which means it never hits the yield point, which is meant to hit after every 10ms or 100 works. |
| Comments |
| Comment by Githook User [ 28/Jul/15 ] | |||||||||||||
|
Author: {u'username': u'coollog', u'name': u'Qingyang Chen', u'email': u'qingyang.chen@10gen.com'}Message: | |||||||||||||
| Comment by Githook User [ 27/Jul/15 ] | |||||||||||||
|
Author: {u'username': u'coollog', u'name': u'Qingyang Chen', u'email': u'qingyang.chen@10gen.com'}Message: | |||||||||||||
| Comment by Geert Bosch [ 13/Jul/15 ] | |||||||||||||
|
I can confirm that this was introduced by
As a result the TTL monitor never yields. | |||||||||||||
| Comment by J Rassi [ 13/Jul/15 ] | |||||||||||||
|
It looks like this is a regression introduced by Per discussion, I'd suggest:
|