Skip to content

Initializing replicaset with default configuration (single node) fails. #223

Closed
@guptaarvindk

Description

@guptaarvindk

Initializing replicaset with default configuration (single node) fails. MongoDB server version: 3.6.0

rs.initiate()
{
"info2" : "no configuration specified. Using a default configuration for the set",
"me" : ":27017",
"ok" : 0,
"errmsg" : "FailedToParse: Empty host component parsing HostAndPort from ":27017" for member:{ _id: 0, host: ":27017" }",
"code" : 93,
"codeName" : "InvalidReplicaSetConfig"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions