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

Ability to restore the data files for a given DB without shutting down the mongod process

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 2.0.0
    • Admin
    • None
    • Storage Execution

    Description

      Problem:
      There are events that may cause an administrator to want to restore specific databases in a running mongod process. For example, in a multi-tennat situation where each DB is associated with a tenant. You may want to restore one database from a backup but not take the mongod process for all the other tenants.

      You can call closeAllDatabases which will essentially forces the mongod process to reload the data files.

      Solution:
      a) ensure that this use case is tested and support across all platforms
      b) provide a mechanism to "lock" the database during the restore, to prevent a client connect trying to create the database and/or collections, indexes etc. while the restore is in progress.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            alvin Alvin Richards (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: