[SERVER-77827] Allow restore role to drop system.views Created: 06/Jun/23  Updated: 18/Jan/24  Resolved: 02/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0, 7.0.5, 6.0.13

Type: Task Priority: Major - P3
Reporter: Gregory Noma Assignee: Shin Yee Tan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by COMPASS-7393 Investigate changes in SERVER-77827: ... Closed
Documented
is documented by DOCS-16473 Investigate changes in SERVER-77827: ... Closed
Problem/Incident
Related
related to SERVER-76342 Drop system.views when the last view ... Backlog
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.1, v7.0, v6.0, v5.0, v4.4
Sprint: Execution NAMR Team 2023-10-02, Execution Team 2023-11-13
Participants:

 Description   

The built-in restore role currently does not allow dropping a system.views collection.



 Comments   
Comment by Githook User [ 06/Dec/23 ]

Author:

{'name': 'Shin Yee Tan', 'email': 'shinyee.tan@mongodb.com', 'username': 'shinyeet'}

Message: SERVER-77827 Allow restore role to drop system.views

GitOrigin-RevId: 8579da5d8c95e38e0e087df1eef8a1945eab163d
Branch: v6.0
https://github.com/mongodb/mongo/commit/c129a1d3ca63e4d7b489334584ca96c25904954b

Comment by Githook User [ 05/Dec/23 ]

Author:

{'name': 'Shin Yee Tan', 'email': 'shinyee.tan@mongodb.com', 'username': 'shinyeet'}

Message: SERVER-77827 Allow restore role to drop system.views

(cherry picked from commit de94a8532566b027be899e7db1e8456128b510f7)

GitOrigin-RevId: 8ad66841e4d9f183114b317fb3d3601a3ecc5a10
Branch: v7.0
https://github.com/mongodb/mongo/commit/07625df6543075ec1c40918120fe0bc291b8017c

Comment by Felipe Gasper [ 07/Nov/23 ]

gregory.noma@mongodb.com Mongosync only has use for 6.0, 7.0, and 7.1 backports.

Comment by Githook User [ 02/Nov/23 ]

Author:

{'name': 'Shin Yee Tan', 'email': 'shinyee.tan@mongodb.com', 'username': 'shinyeet'}

Message: SERVER-77827 Allow restore role to drop system.views
Branch: master
https://github.com/mongodb/mongo/commit/de94a8532566b027be899e7db1e8456128b510f7

Comment by Felipe Gasper [ 24/Jul/23 ]

NB: If this can be backported to 4.4, then once mongosync drops 4.2 support we can stop having to drop individual views and just do a single drop on system.views.

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