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

Is it possible to make mongo reload data files without restart?

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 3.0.3
    • Admin
    • None

    Description

      I've created a backup process for the mongo dbdir. The restoration process takes one of the backups created by rsync and copies it to a new disk and mounts it on the data dir.

      After the process I still see collections and databases (databases appear as empty) that existed before the restoration process, until I restart mongo. I would like to avoid this restart if possible,

      is there any way to cause mongo reload its data files on the fly? (I didn't use mongodump because it for some reason inflated the db from 4GB to 40GB after mongorestore, but that is a different issue)

      Attachments

        Activity

          People

            Unassigned Unassigned
            nadavreichler nadav reichler
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: