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

Implement a connectDatabase / disconnectDatabase functionality.

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Admin, WiredTiger
    • Environment:
      Windows for me, but probably the other places.

      With the old engine, you could shift folders/files in and out and they would become immediately available for access from clients.
      This was a great way to manage large data importing / index rebuilding. You could take a single server offline - build new data/indexes and then systematically copy this structure around ones replicaset to get them back into sync - oplog - didnt come into it.
      With WiredTiger engine, this will not work, as if you create a new database/folder or increase the collection count within that database - it is ignored.
      I believe because the underlying structure is not generated to support the new files.

      Is it possible to generate this missing structure simply by issueing a command which would then parse the file structure to rebuild its internal mappings.

      Hope that explains the requirement. Sorry if this request is already somewhere else - its a little fiddly to find through Jira.

            Votes:
            14 Vote for this issue
            Watchers:
            25 Start watching this issue

              Created:
              Updated:
              Resolved: