[SERVER-20501] Invariant failure in configOptime during config reload Created: 18/Sep/15  Updated: 25/Jan/17  Resolved: 22/Sep/15

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.1.8
Fix Version/s: 3.1.9

Type: Bug Priority: Major - P3
Reporter: Randolph Tan Assignee: Randolph Tan
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: HTML File diff     File fsm_all_sharded_replication.log    
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Invariant location:
https://github.com/mongodb/mongo/blob/r3.1.8/src/mongo/s/config.cpp#L419

Invariant can be triggered when DBConfig::_load gets called by another thread right after tempChunkManager was loaded and just before the getChunkManager reacquires the _lock mutex.



 Comments   
Comment by Githook User [ 22/Sep/15 ]

Author:

{u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}

Message: SERVER-20501 Invariant failure in configOptime during config reload
Branch: master
https://github.com/mongodb/mongo/commit/268d7f361a5bf11f61b9cebab7ce2d9d86c5e14d

Comment by Spencer Brody (Inactive) [ 20/Sep/15 ]

Happened on another patch build of mine: https://evergreen.mongodb.com/task/mongodb_mongo_master_linux_64_concurrency_sharded_WT_32b5f47a7188219886005c58569922a5ec031483_15_09_18_23_12_56.

Seems to only happen with read-preference nearest turned on for CSRS

Comment by Randolph Tan [ 18/Sep/15 ]

diff of failure applied against https://github.com/mongodb/mongo/commit/85cfca58ffe522f13118d715532f7eb8a45ad0c1

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