Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
3.2.3
-
Fully Compatible
-
ALL
-
Repl 11 (03/11/16)
Description
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.
Attachments
Issue Links
- is related to
-
SERVER-17491 Messages confusing in replSetInitiate without replication enabled
-
- Closed
-
-
SERVER-19537 Allow replSetInitiate on nodes not started with --replSet
-
- Closed
-