while adding replica set , getting error “errmsg” : “Our set name did not match that of 127.0.0.1:27003”
m103-rep:PRIMARY> rs.add( { host: “127.0.0.1:27003”})
{
“operationTime” : Timestamp(1613602564, 1),
“ok” : 0,
“errmsg” : “Our set name did not match that of 127.0.0.1:27003”,
“code” : 103,
“codeName” : “NewReplicaSetConfigurationIncompatible”,
“$clusterTime” : {
“clusterTime” : Timestamp(1613602564, 1),
“signature” : {
“hash” : BinData(0,“laEtP4aO6x2vuvkyKH4AtvrvMSE=”),
“keyId” : NumberLong(“6930363669821784065”)
}
}
}
All 3 conf file have key entry and below to same replica set , still not able to add other 2 to replication set.