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

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.0.0
    • Component/s: Admin
    • None
    • Storage Execution

      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.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            alvin Alvin Richards (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: