[SERVER-28154] Race condition in ttl_sharded.js Created: 01/Mar/17 Updated: 05/Apr/17 Resolved: 02/Mar/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | TTL |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.13, 3.4.3, 3.5.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tess Avitabile (Inactive) | Assignee: | Tess Avitabile (Inactive) |
| 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 | ||||||||||||||||
| Backport Requested: |
v3.4, v3.2
|
||||||||||||||||
| Steps To Reproduce: | Insert a sleep before this line, then run ttl_sharded.js. |
||||||||||||||||
| Sprint: | Query 2017-03-06 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||
| Description |
|
In ttl_sharded.js, we wait for the TTL monitor to start deleting documents, then immediately check that all expired documents have been deleted. This can fail if the TTL monitor is still in the process of deleting documents. |
| Comments |
| Comment by Githook User [ 02/Mar/17 ] |
|
Author: {u'username': u'tessavitabile', u'name': u'Tess Avitabile', u'email': u'tess.avitabile@mongodb.com'}Message: (cherry picked from commit cb2fdf468435d7a5c7582069d4026f1d4e935755) |
| Comment by Githook User [ 02/Mar/17 ] |
|
Author: {u'username': u'tessavitabile', u'name': u'Tess Avitabile', u'email': u'tess.avitabile@mongodb.com'}Message: (cherry picked from commit cb2fdf468435d7a5c7582069d4026f1d4e935755) |
| Comment by Githook User [ 02/Mar/17 ] |
|
Author: {u'username': u'tessavitabile', u'name': u'Tess Avitabile', u'email': u'tess.avitabile@mongodb.com'}Message: |