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
阿里云sharding to sharding同步,数据全部进入目标sharding的primary shard #485
一..说明 mongoshake版本:2.4.16 os:centos7 阿里云sharding版本:3.4 阿里云的sharding到sharding的数据同步,源和目标sharding均未8个shard的集群,源集群3个mongos、目标集群2个mongos。 同步前手动对目标sharding进行了库和部分表的分片,即enableSharding和shardCollection,其它小表未分片。 同步过程无报错信息,从控制台的监控查看,源sharding的数据最终全部都进入到了目标sharding的primary shard中,且同步前手动对目标sharding进行了shardCollection的表均变为未分片,即db.table.status()为"sharded" : false。 查看日志发现了
麻烦帮忙看下
二..配置参数如下 对源集群已经在控制台申请过CS和Shard的地址。