tencent cloud

TencentDB for MongoDB

Source Database Balancer Check

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2024-10-10 15:21:20

Check Details

Check requirements: if the source database is a sharded instance, you need to disable the balancer in it before you can start migration.
Check description: an incremental migration task will get the oplog. If the balancer is enabled, moveChunk in the source database may cause data inconsistency in the target database.

Fix

1. Log in to the source database.
2. Run the following command to disable the source database balancer:
sh.stopBalancer()
sh.getBalancerState()
3. Run the verification task again.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백