Updated on 2023-02-15 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

  1. Adjust the number of connections to the database.

    • For DDS, query and adjust the number of connections to a database by referring to DDS User Guide.
    • For MongoDB, adjust the number of connections to a database by referring to the official document.

  2. After the adjustment is complete, click Resume in the Operation column to resume the task.
  3. If the fault persists, choose Service Tickets > Create Service Ticket in the upper right corner of the management console and contact DRS customer service.