[SERVER-25937] Writing to system.views collection should not error when featureCompatibilityVersion is 3.2 Created: 01/Sep/16  Updated: 19/Nov/16  Resolved: 02/Sep/16

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

Type: Bug Priority: Major - P3
Reporter: Tess Avitabile (Inactive) Assignee: Tess Avitabile (Inactive)
Resolution: Done Votes: 0
Labels: read-only-views
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-25942 listCollections should not validate v... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query 2016-09-19
Participants:
Linked BF Score: 0

 Description   

This causes an issue on initial sync if we sync system.views before admin.system.version. Then we will error on inserting into system.views because we have not yet set featureCompatibilityVersion to 3.4. As a solution, we will not error on writing to system.views when featureCompatibilityVersion is 3.2. Users will still be prevented from creating views using the create command when featureCompatibilityVersion is 3.2, but they will be allowed to write directly to system.views. Resolving SERVER-25890 would prevent users from writing directly to system.views at all times.



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

Author:

{u'username': u'tessavitabile', u'name': u'Tess Avitabile', u'email': u'tess.avitabile@mongodb.com'}

Message: SERVER-25937 Writing to system.views collection should not error when featureCompatibilityVersion is 3.2
Branch: master
https://github.com/mongodb/mongo/commit/54488beeea99b3046931109c170d7e51cea0964d

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