Full Migration Error: Timed out after 60000 ms while waiting to connect
Scenarios
During real-time MongoDB-to-DDS migration, an error is reported during full migration. The log information is as follows: service DATAMOVE failed, cause by: apply event=[type=table_data, batch_index_in_shard=144, table_schema=***, table_name=***, record_num=8510] occur error, msg=Timed out after 60000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{*** type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused (Connection refused)}}].
Possible Causes
- The network is unstable. As a result, the connection times out when data is written to the destination database.
- The destination database is busy. As a result, the connection times out.
Solution
- Check whether the destination database is running properly.
- Check whether packet loss or retransmission occurs on the network between the DRS replication instance and the destination database.
- Contact Huawei engineers to change the default timeout interval.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.