Envrionment: Three nodes for Replica Set, and used for GridFS.
One of the Secondary node delay seriously,so remove the node, stop instance and rm data, at last restart instance for sync data automatic.
Sync data, time to begin 2018.1.25 11:00:00, and end 2018.1.29 14:38:00.It lasts 4 days. And each node data is 2.5T.
But at 2018-01-29 14:26, it suddenly occured error. The deail message is:
com.mongodb.MongoTimeoutException: Timedout after 10000 ms while waiting for a server that matches {serverSelectors=[ReadPreferenceServerSelector
, LatencyMinimizingServerSelector
{acceptableLatencyDifference=15 ms}]}. Client view of cluster state is {type=ReplicaSet, servers=[] at com.mongodb.BaseCluster.getServer(BaseCluster.java:82) at com.mongodb.DBTCPConnector.getServer(DBTCPConnector.java:664) at com.mongodb.DBTCPConnector.access$500(DBTCPConnector.java:40) at com.mongodb.DBTCPConnector$MyPort.getConnection(DBTCPConnector.java:513) at com.mongodb.DBTCPConnector$MyPort.get(DBTCPConnector.java:456) at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:288) at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:273) at com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:84) at com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:66) at com.mongodb.DBCollection.findOne(DBCollection.java:940) at com.mongodb.DBCollection.findOne(DBCollection.java:914) at com.mongodb.DBCollection.findOne(DBCollection.java:858) at
Please help me resolve the question. Thank you very much.