alibaba / MongoShake

MongoShake is a universal data replication platform based on MongoDB's oplog. Redundant replication and active-active replication are two most important functions. 基于mongodb oplog的集群复制工具,可以满足迁移和同步的需求,进一步实现灾备和多活功能。
GNU General Public License v3.0
1.72k stars 441 forks source link

mongodb同步时出错of dest mongo failed[no progress was made executing batch write op in datacore.riskengine_io after 5 rounds (0 ops completed in 6 rounds total)]. first doc: &{0 [] map[] map[] <nil> false map[] 0 0} #283

Closed 463419442 closed 4 years ago

463419442 commented 4 years ago

mongodb的同步源版本是3.4.6复制集合,目标版本是4.2.2的mongodb版本。mongoshake的版本是mongoshake-v2.2.0的二进制版本

vinllen commented 4 years ago

relate:

这个看起来是本身目的端集群状态存在问题了,建议排查一下,普通的insert写入失败。从源码上看,是batch写入,从mongos到mongod的尝试超过5次了。 image