[SERVER-26597] DBConfig::load callers should be prepared to catch exceptions Created: 12/Oct/16  Updated: 25/Jan/17  Resolved: 17/Oct/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.4.0-rc0
Fix Version/s: 3.4.0-rc1

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

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2016-10-31
Participants:
Linked BF Score: 0

 Description   

One example of caller that does not is CatalogCache::getDatabase:

https://github.com/mongodb/mongo/blob/r3.4.0-rc0/src/mongo/s/catalog/catalog_cache.cpp#L66

And this can cause the balancer to terminate while calling MigrationManager::finishRecovery.



 Comments   
Comment by Githook User [ 17/Oct/16 ]

Author:

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

Message: SERVER-26597 DBConfig::load callers should be prepared to catch exceptions
Branch: master
https://github.com/mongodb/mongo/commit/a76c4da986907e204e9fb2602b56c886fbc4c069

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