DBConfig::load callers should be prepared to catch exceptions

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.4.0-rc1
    • Affects Version/s: 3.4.0-rc0
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2016-10-31
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Randolph Tan
              Reporter:
              Randolph Tan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: