[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:
Backports
Depends
Related
is related to SERVER-21480 Race condition in ttl1.js Closed
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: SERVER-28154 Remove race condition in ttl_sharded.js

(cherry picked from commit cb2fdf468435d7a5c7582069d4026f1d4e935755)
Branch: v3.2
https://github.com/mongodb/mongo/commit/16cb9f02cb69427a6ebbe67bfa76d566000804e8

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: SERVER-28154 Remove race condition in ttl_sharded.js

(cherry picked from commit cb2fdf468435d7a5c7582069d4026f1d4e935755)
Branch: v3.4
https://github.com/mongodb/mongo/commit/4c71a22acbb34c95b1a6e4a9d433983d684f37c3

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: SERVER-28154 Remove race condition in ttl_sharded.js
Branch: master
https://github.com/mongodb/mongo/commit/cb2fdf468435d7a5c7582069d4026f1d4e935755

Generated at Thu Feb 08 04:17:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.