Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-5920

bad reload of database config

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.7, 2.1.2
    • Affects Version/s: 2.0.4
    • Component/s: Sharding
    • None
    • ALL

      A bad reload of config information when retrieving information for a database can cause a not-fully-initialized DBConfig object to remain in the shared config info. This can happen, for example, when all config servers are down.

      We need to catch this error and remove the bad entry while still in the _lock if anything goes wrong while connecting.

      see Grid::getDBConfig().

      Affects 2.0 branch, probably 2.1.

        1. bad_config_stored.js
          1 kB
          Greg Studer

            Assignee:
            greg_10gen Greg Studer
            Reporter:
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: