← Back to team overview

maria-developers team mailing list archive

Re: API Documentaion for Replication Features


Hi, Gordan!

On Nov 29, Gordan Bobic wrote:
> Hi,
> I have a need for replicating data from multiple masters (independent 
> data going to different tables).
> So what I was hoping to do is write something based on the existing 
> MySQL code since at least that should "just work". The problem is - I am 
> completely unfamiliar with MySQL internals, and I haven't found any 
> function level API documentation. So, would anyone here be kind enough 
> to point me at the specific bits of code in MySQL that handle:
> Any pointers would be greatly appreciated. If somebody here is already 
> undertaking a similar effort, I would rather like to lend a hand.

You might want to look at https://kb.askmonty.org/en/multi-source-replication/
or http://mysql.taobao.org/index.php/Patch_source_code#Multi-master_replication


Follow ups