Hi Monty, On Fri, Nov 30, 2012 at 4:01 PM, Michael Widenius <monty@askmonty.org>wrote:
Hi!
"Lixun" == Lixun Peng <penglixun@gmail.com> writes:
Lixun> Hi Gordan, Lixun> I'm not changed the replicate-[do|ignore]-[table|database] functionality Lixun> code, so I think it should work for all slave threads, but it can't specify Lixun> each master to use specific filter.
Yes, the replication filters are global for now.
It would probably be 2-3 days of work to make these per master.
The main questions is only how to define this in the config file. We could probably use the same thing we use for key buffers:
master_name.replicate-do-db=...
I think this way is ok. I agree with you.
Do you want some information of how to develop this or do you think you can find someone to sponsor this?
I can try to implement it. Are you doing it? Thanks, Lixun -- Senior MySQL Developer @ Taobao.com Mobile Phone: +86 18658156856 (Hangzhou) Gtalk: penglixun(at)gmail.com Twitter: http://www.twitter.com/plinux Blog: http://www.penglixun.com