-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 3.2.3
-
Component/s: Replication
-
Fully Compatible
-
ALL
-
Repl 11 (03/11/16)
If you attempt to run replSetInitiate() on a mongod that was not started with --replSet, and this isn't for a CSRS upgrade, you will get a mysterious error message:
{ "ok" : 0, "errmsg" : "Missing expected field \"version\"", "code" : 93 }
This is because we skip adding the version field for non-replsets, and we try to validate the config before we detect the issue.
- is related to
-
SERVER-17491 Messages confusing in replSetInitiate without replication enabled
- Closed
-
SERVER-19537 Allow replSetInitiate on nodes not started with --replSet
- Closed