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

Support views in cloner & DataReplicator/DatabaseCloner

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 3.3.11
    • Affects Version/s: None
    • Component/s: Replication, Storage
    • None
    • Major Change
    • Integration 17 (07/15/16), Integration 18 (08/05/16), Integration 2016-08-29
    • 0

      If the collection info contains a embedded document called "view" then it should only create the "view" collection, but not load any data nor create/build indexes.

      This should be done:

      1. Where we call getCollectionInfos in Cloner::copyCollection/copyDb
      2. Where collections info create a new CollectionCloner. We can either specialize a subclass to clone views (read-only collections) or handle it in CollectionCloner.

            Assignee:
            james.wahlin@mongodb.com James Wahlin
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: