[SERVER-63725] If user write blocking is enabled, FCV downgrade to a version that does not support it should fail Created: 16/Feb/22  Updated: 29/Oct/23  Resolved: 05/Apr/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Jordi Serra Torrens Assignee: Spencer Jackson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Documented
is documented by DOCS-15212 Investigate changes in SERVER-63725: ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Security 2022-04-04, Security 2022-04-18
Participants:

 Description   

Make FCV dowgrade fail to a version that doesn't support user write blocking under any of the following scenarios:

(a) User writes are currently blocked

(b) A SetUserWriteBlockModeCoordinator is running (applies to the configsvr exclusively)

For replicaSets (which don't use SetUserWriteBlockModeCoordinator ), proper synchronization must be ensured between check (a) and the setUserWriteBlock command.



 Comments   
Comment by Githook User [ 05/Apr/22 ]

Author:

{'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}

Message: SERVER-63725 Block FCV downgrade on User Write Block Mode
Branch: master
https://github.com/mongodb/mongo/commit/c96f8dacc4c71b4774c932a07be4fac71b6db628

Generated at Thu Feb 08 05:58:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.