Updated on 2025-07-21 GMT+08:00

Checking Whether the Shards and Mongos Are in the Same Cluster

MongoDB Migration

Table 1 Checking whether the shards and mongos are in the same cluster

Check Item

Whether the shards and mongos are in the same cluster

Description

If the shards and mongos are not in the same cluster, the migration will fail.

Item to Be Confirmed and Handling Suggestion

Failure cause: The shards are in different clusters from mongos.

Handling suggestion: On the connection test page, enter the shards which are in the same cluster as the mongos.