Updated on 2022-09-21 GMT+08:00

Full Migration Error: Prematurely reached end of stream

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: Prematurely reached end of stream.

Possible Causes

  • The number of connections to the source or destination database is insufficient. Check the maximum number of connections to the source or destination database and the number of used connections. Generally, the number of connections used by DRS is about 10 on the source database and 20 on the destination database.

Solution

Adjust the number of connections supported by the source MongoDB database. For details, see the official documents of the source MongoDB database or the destination DDS database user guide.