[SERVER-25796] "Cloning" commands should handle views appropriately Created: 25/Aug/16  Updated: 19/Nov/16  Resolved: 31/Aug/16

Status: Closed
Project: Core Server
Component/s: Querying, Storage
Affects Version/s: 3.3.11
Fix Version/s: 3.3.14

Type: Task Priority: Major - P3
Reporter: Kyle Suarez Assignee: James Wahlin
Resolution: Done Votes: 0
Labels: read-only-views
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-25597 Additional testing for cloner & views Closed
Related
is related to SERVER-24506 Support views in cloner & DataReplica... Closed
Backwards Compatibility: Major Change
Sprint: Integration 2016-09-19
Participants:

 Description   

Commands that allow a user to clone a collection or database must handle views appropriately. We need to verify that these commands work appropriately, fail with an appropriate error code if required, and adjust the test in jstests/views/views_all_commands.js.

  • clone
  • cloneCollection
  • copyDb


 Comments   
Comment by Githook User [ 31/Aug/16 ]

Author:

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

Message: SERVER-25796 copydb support for views + additional cloner tests
Branch: master
https://github.com/mongodb/mongo/commit/bbc9748b355ae0ac07d6ac37db757712bc35af43

Comment by James Wahlin [ 25/Aug/16 ]

clone and copyDb should both work and were modified for views under SERVER-24506.

SERVER-25597 is in place to add tests for these commands and should be done first, or consolidated with this ticket.

cloneCollection has not been modified to support views and will need changes to support.

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