Our replica set configuration is invalid or does not include us

Our replica set configuration is invalid or does not include us

This error occurred when deploying the mongodb cluster. Baidu has been unable to find any results for a long time. Later, in the mongodb.log under the logs directory, it was found that the arbitration node could not be connected.

Insert picture description here

The meaning of this sentence is translated as invalid or not included in the replication set configuration, which will make people mistakenly think that the replication set name is incorrect or the configuration file problem, but it may also be whether the connection between the master, the slave, and the arbitration is abnormal.

In short, if you encounter an error, go to mongodb.log in the logs directory to check it.

Guess you like

Origin blog.csdn.net/bugnono/article/details/108264552