2017年5月2日星期二

MongoDB: Quorum check failed because not enough voting nodes responded

以下這個error message是提醒你開啟 localhost:27002 的mongod。

Error:
Quorum check failed because not enough voting nodes responded; required 2 but only the following 1 voting nodes responded: localhost:27001; the following nodes did not respond affirmatively: localhost:27002 failed will the L K s u A…
Error Code: 74


步驟:
1. rs.add("localhost:27002") return eror: Quorum check failed...
2. mongod --dbpath --port 27002
3. rs.add("localhost:27002") return success.
4. done.