[SERVER-26145] Shutdown during move chunk commit fasserts Created: 16/Sep/16  Updated: 27/Mar/23  Resolved: 16/Sep/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.3.12
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-23944 Failure to commit chunk migration due... Closed
Problem/Incident
causes SERVER-60485 Tasks which run on the MigrationUtilE... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2016-10-10
Participants:

 Description   

There are certain cases where the state after a commit chunk operation is not known and the shard needs to do a majority write in order to obtain the latest config server optime. This particular write is not allowed to fail, because the shard's cached metadata and config server op time cannot be trusted.

In the case where a shutdown happens at the exact time of chunk commit the shard will not continue serving requests and therefore we should special case this and not fassert.



 Comments   
Comment by Githook User [ 19/Sep/16 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-26145 Do not fassert at shutdown during move chunk commit
Branch: master
https://github.com/mongodb/mongo/commit/f5ee90d15c8f7f723049924d6acc804c6790e278

Comment by Githook User [ 19/Sep/16 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: Revert "SERVER-26145 Do not fassert at shutdown during move chunk commit"

This reverts commit dece96ba0408446ca034a7c897ab890a80d901ef.
Branch: master
https://github.com/mongodb/mongo/commit/84f37a114b74032547cf585899d82243a65699ce

Comment by Githook User [ 19/Sep/16 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-26145 Do not fassert at shutdown during move chunk commit
Branch: master
https://github.com/mongodb/mongo/commit/dece96ba0408446ca034a7c897ab890a80d901ef

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