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

restore data after flushconfig command

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Operating System:
      ALL

      Description

      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 ?

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: