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

Implement a connectDatabase / disconnectDatabase functionality.



    • Type: New Feature
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Admin, WiredTiger
    • Labels:
    • Environment:
      Windows for me, but probably the other places.
    • Case:


      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.


          Issue Links



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


                • Created: