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

context.address 配置问题 #271

Closed hbyhl closed 4 years ago

hbyhl commented 4 years ago

源mongo集群: mongos:127.0.0.1:27017 config-server:127.0.0.1:27029(主),127.0.0.1:27039(副本) shard-server: shard1: 127.0.0.1:27018(主),127.0.0.1:27038(副本) shard2: 127.0.0.1:27028(主),127.0.0.1:27048(副本)

目的mongo集群: mongos:127.0.0.1:28017

collector.conf: mongo_urls = mongodb://127.0.0.1:27048;mongodb://127.0.0.1:27038 tunnel.address = mongodb://127.0.0.1:28017 context.storage = database context.storage.url = mongodb://127.0.0.1:27017 context.address = ckpt_default

执行错误提示:Configure file collector.conf parse failed. couldn't found structure key's tag 'context.address'. one must be tagged

context.address 应该怎么配置呢

hbyhl commented 4 years ago

用错了不同版本的配置文件