[SERVER-79280] Disallow data writes when the `--maintenanceMode` parameter is set Created: 25/Jul/23 Updated: 02/Aug/23 Resolved: 02/Aug/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Wenqin Ye | Assignee: | Wenqin Ye |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Sprint: | Sharding NYC 2023-08-07 | ||||||||
| Participants: | |||||||||
| Comments |
| Comment by Wenqin Ye [ 02/Aug/23 ] |
|
Closing as this is no longer a requirement for --maintenanceMode |
| Comment by Wenqin Ye [ 25/Jul/23 ] |
|
Sorry I think when I was talking to Ali he mentioned we should disallow user data writes. I'm not sure how to differentiate between user data writes and administrative writes. Also the idea behind disallowing user data writes is we don't want users to use the maintenance mode as a standalone db. |
| Comment by Randolph Tan [ 25/Jul/23 ] |
|
Why are we disallowing data writes in maintenance mode? In addition to performing tasks possibly disallowed in a replset/sharding enviroment, this mode can also be used as a backdoor to perform operations to fix/correct database/collections/documents which would otherwise been disallowed in that environment. |