[SERVER-24506] Support views in cloner & DataReplicator/DatabaseCloner Created: 09/Jun/16  Updated: 30/Aug/17  Resolved: 10/Aug/16

Status: Closed
Project: Core Server
Component/s: Replication, Storage
Affects Version/s: None
Fix Version/s: 3.3.11

Type: Improvement Priority: Critical - P2
Reporter: Scott Hernandez (Inactive) Assignee: James Wahlin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-24505 Support views in DataReplicator Datab... Closed
Related
related to SERVER-30900 remove collMod writeConcern argument ... Closed
related to SERVER-25493 Remove $exists clause once master is ... Backlog
related to SERVER-25796 "Cloning" commands should handle view... Closed
related to SERVER-25496 the validate hook will not work with ... Closed
is related to SERVER-25597 Additional testing for cloner & views Closed
Backwards Compatibility: Major Change
Sprint: Integration 17 (07/15/16), Integration 18 (08/05/16), Integration 2016-08-29
Participants:
Linked BF Score: 0

 Description   

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.


 Comments   
Comment by James Wahlin [ 12/Aug/16 ]

Linking SERVER-25597 which fills in the testing gaps not covered by this ticket.

Comment by Githook User [ 09/Aug/16 ]

Author:

{u'username': u'jameswahlin', u'name': u'James Wahlin', u'email': u'james.wahlin@10gen.com'}

Message: SERVER-24506 Cloner support for views
Branch: master
https://github.com/mongodb/mongo/commit/875bf157f0d16b10896528026f0e2be93c466f90

Comment by Githook User [ 19/Jul/16 ]

Author:

{u'username': u'jameswahlin', u'name': u'James Wahlin', u'email': u'james.wahlin@10gen.com'}

Message: SERVER-24506 listCollections support for views
Branch: master
https://github.com/mongodb/mongo/commit/97c43492de001c1bfd9426107c919ab50f1829ab

Comment by Githook User [ 18/Jul/16 ]

Author:

{u'username': u'jameswahlin', u'name': u'James Wahlin', u'email': u'james.wahlin@10gen.com'}

Message: Revert "SERVER-24506 listCollections support for views"

This reverts commit bfa627513c781c9e61b25dcf993fcd01aaeed0c3.
Branch: master
https://github.com/mongodb/mongo/commit/4d826acb5648a78d0af0fefac5abe6fbbe7c854a

Comment by Githook User [ 15/Jul/16 ]

Author:

{u'username': u'jameswahlin', u'name': u'James Wahlin', u'email': u'james.wahlin@10gen.com'}

Message: SERVER-24506 listCollections support for views
Branch: master
https://github.com/mongodb/mongo/commit/bfa627513c781c9e61b25dcf993fcd01aaeed0c3

Generated at Thu Feb 08 04:06:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.