-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Security 2022-02-21, Security 2022-03-07, Security 2022-03-21
We should write a test to validate the behaviour of the global critical section.
Roughly, we should evaluate the following sequence of events:
ASSERT: User X with readWrite@foo can insert into foo.
ASSERT: Administrative user A may enable write blocking mode.
ASSERT: X receives a semantically meaningful error message if it attempts to insert into foo.
ASSERT: User R authorized with the restore role may insert into foo
ASSERT: A may disable write blocking mode
ASSERT X may insert into foo
We should run this test on a standalone and a 3 node replicaset. Until SERVER-63459 we should only validate replicaset behaviour on the primary.
- is depended on by
-
SERVER-63459 Extend cluster write blocking integration tests to tolerate failover
-
- Closed
-
-
SERVER-63460 Extend cluster write blocking replicaset integration tests to operate with sharding
-
- Closed
-