-
Type: Task
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: C2C
-
1
TODO: Fill out each section as best you can. Remove all italic template text or unused sections before submitting the issue.
Problem
When using c2c with the option
curl localhost:27182/api/v1/start -XPOST \--data ' { "source": "cluster0", "destination": "cluster1", "enableUserWriteBlocking": true } '
In case you would like to allow the source cluster to accept writes again you need to run the command:
db.adminCommand({setUserWriteBlockMode: 1,global: false})
This is not documented in the c2c docs.
Solution & Acceptance Criteria
What should be done to complete the ticket to the best of your knowledge? If you do not know what should be done to complete the ticket, include investigating and deciding on a solution as one of the acceptance criteria.
Impact
What is the impact of the ticket being completed?
Optional Permalinks
Any relevant code, evergreen logs, commits, docs, etc. that should be included?