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

Can't start mongod if there's no config server(csrs) connections are available

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: 3.2.10
    • Fix Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      1) Setup sharded cluster (CSRS)
      2) Insert some data to cluster
      3) Take backup (snapshot or cold file copy backup) from one member
      4) Shutdown all mongod and config server
      5) Start mongod with backup data files without replication options

      Show
      1) Setup sharded cluster (CSRS) 2) Insert some data to cluster 3) Take backup (snapshot or cold file copy backup) from one member 4) Shutdown all mongod and config server 5) Start mongod with backup data files without replication options

      Description

      If there's no config servers (CSRS) are available, we can't start mongod even without replication configuration options.

      I have seen the SERVER-23041. And My case is little bit different.
      I want to start mongod as standalone with backup data (backup was taken from sharded cluster member). Mongodb is trying to initialize something on config server (old config server). But config server doesn't exist or host name is changed or not accessible at the time of recovery old backup copy.

      Mongod print this message all the time, and refuse mongo client connection.

      SHARDING [ShardingState initialization] Error initializing sharding state, sleeping for 2 seconds and trying again ...
      

        Attachments

          Activity

            People

            Assignee:
            kelsey.schubert Kelsey T Schubert
            Reporter:
            matt.lee Matt SeongUck Lee
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: