Details
Description
Create a 3-node replica set, shut it down, then restart with --repair. The repair does not complete, failing part way through with the following error:
{"t":\{"$date":"2020-08-08T08:02:45.266-04:00"},"s":"E", "c":"STORAGE", "id":20557, "ctx":"initandlisten","msg":"DBException in initAndListen, terminating","attr":\{"error":"NotMasterNoSlaveOk: not master and slaveOk=false"}}
|
This happens on all 3 nodes. Debug level 5 logs attached.
Attachments
Issue Links
- is documented by
-
DOCS-14721 [SERVER]Investigate changes in SERVER-50192: mongod --replSet --repair fails with NotMasterNoSlaveOk error
-
- Closed
-