Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Merge table from master slave replication

$
0
0

I have a dual master-slave replication (server1 is master AND slave of server2).

After a problem with server1, the replication broke. After some skipped logs the replication came back to life. Then I ran a checksum and there was one table with DIFFs:

+----------------+---+-----+--------+------+-------+--------+-----------+
| TS             |ERR|DIFFS|ROWS    |CHUNKS|SKKIPED|TIME    |TABLE
+----------------+---+-----+--------+------+-------+--------+-----------+
| 09-25T21:09:39 | 0 | 2   |5447202 | 181  |0      | 967.269|db1.myTable      
+----------------+---+-----+--------+------+-------+--------+-----------+

I don't want to do a simple table sync from server2 to 1 because I'm afraid there might be data in server1 that it isn't in server2.

So, is there a way to make a merge between tables in a master-slave replication?


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>