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的集群复制工具,可以满足迁移和同步的需求,进一步实现灾备和多活功能。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

filter过滤collection不生效

shone-liu opened this issue · comments

MongoShake的版本: mongo-shake-v2.8.4
源和目的MongoDB的版本: mongodb-linux-x86_64-rhel70-4.4.7
配置文件过滤器配置:
filter.namespace.black = rzt14.shone.system.access.session.AdminSession;rzt14.datameta

问题如下:
其中【rzt14】是database的名称,
【datameta】和【shone.system.access.session.AdminSession】是collection的name。
过滤器仅对【rzt14.datameta】生效。

源码排查发现不是这个问题,是因为oplog的Operation类型造成的