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

restore data after flushconfig command

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • ALL

      Hi,

      I have a 3 shards with 3 config servers and 1 mongos. yesterday mongo doesn't read the full data from shard 3 . so i tried to figure out the problem but while i was searching i found flushconfig command which is suppose to reload the config files .. I thought It's something will reconnect shards with mongos again .. but after running this command my databases gone from mongos .. when I look to the source code of this command I found that It's clear the database.

      https://github.com/ViDA-NYU/mongodb-vls/blob/master/vls/src/mongo/s/grid.cpp#L601

      so now I have my shards and config servers and mongos , shards have all data as a *.wt files .. how can i restore all shards into one single database in mongos .

      any way to get this back, please ?

            Assignee:
            Unassigned Unassigned
            Reporter:
            ahmed.ashraf@speakol.com Ahmed Ashraf
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: