[SERVER-26022] collMod should copy ViewDefinition before modifying Created: 08/Sep/16  Updated: 19/Nov/16  Resolved: 08/Sep/16

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.3.14

Type: Bug Priority: Major - P3
Reporter: James Wahlin 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
duplicates SERVER-26015 Coverity analysis defect 99879: Copy ... Closed
Related
is related to SERVER-25808 Test concurrent view modification for... Closed
Backwards Compatibility: Major Change
Operating System: ALL
Participants:

 Description   

Fix bug introduced in f515afc5dd533dc2ddc3d80697d9ff96709f9f0d where collMod was changed from copying the looked up view for modification to modifying a shared copy directly. This can lead to invalid in-memory view definition when a cycle-forming view collMod is executed.



 Comments   
Comment by Githook User [ 08/Sep/16 ]

Author:

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

Message: SERVER-26022 collMod should copy ViewDefinition before modifying
Branch: master
https://github.com/mongodb/mongo/commit/81eaed9d178a63c3dda9ab7574f4ce4130a7d1ec

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