I have an installation of 3 MongoDBs which should act as a replica set, two of them data bearing nodes and one an arbiter. I have already configured both data bearing nodes but I have a problem configuring the arbiter.
> rs.addArb("172.26.251.61:27017")
{
ok: 1,
'$clusterTime': {
clusterTime: Timestamp({ t: 1663326365, i: 2 }),
signature: {
hash: Binary(Buffer.from("0000000000000000000000000000000000000000", "hex"), 0),
keyId: Long("0")
}
},
operationTime: Timestamp({ t: 1663326365, i: 2 })
}
Then I check and I get an error:
rs.status()
BSONError: Invalid UTF-8 string in BSON document
If I remove the arbiter rs.remove("172.26.251.61:27017") then rs.status() works properly again: