[SERVER-3959] Dist lock not relinquished in the event of failover Created: 27/Sep/11  Updated: 11/Jul/16  Resolved: 04/Oct/11

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 2.0.0
Fix Version/s: 2.0.1, 2.1.0

Type: Bug Priority: Major - P3
Reporter: Kyle Banker Assignee: Greg Studer
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File lock_test.js    
Issue Links:
Related
Operating System: ALL
Participants:

 Description   

It seems that if a primary takes a lock and then fails over in the middle of a migration, the lock isn't relinquished.



 Comments   
Comment by auto [ 04/Oct/11 ]

Author:

{u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}

Message: Change test to allow the creation of new locks as well SERVER-3959
Branch: v2.0
https://github.com/mongodb/mongo/commit/414d14dbd83de7514584c4530bee418473923213

Comment by auto [ 04/Oct/11 ]

Author:

{u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}

Message: share lastpings between dist locks SERVER-3959
Branch: v2.0
https://github.com/mongodb/mongo/commit/3461007a7a706c9fa06b15a26ca70f5e3eaa7029

Comment by auto [ 04/Oct/11 ]

Author:

{u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}

Message: Change test to allow the creation of new locks as well SERVER-3959
Branch: master
https://github.com/mongodb/mongo/commit/785a715e6795338771fcc2411db9d88585c18ed5

Comment by auto [ 29/Sep/11 ]

Author:

{u'login': u'gregstuder', u'name': u'gregs', u'email': u'greg@10gen.com'}

Message: share lastpings between dist locks SERVER-3959
Branch: master
https://github.com/mongodb/mongo/commit/df3231c83dca1914d4e3dd21e3ea26cf83b4a6eb

Comment by Greg Studer [ 29/Sep/11 ]

Test for unlocking behavior.

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