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

bad reload of database config

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.0.7, 2.1.2
    • Component/s: Sharding
    • Labels:
      None
    • Operating System:
      ALL

      Description

      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.

        Attachments

        1. bad_config_stored.js
          1 kB
          Greg Studer

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: