Sorry I was bit busy last week due to PXC-5.6.29 release. May find time this week.
-----Krunal BauskarC/C++ Engineer, PerconaOn Mon, May 23, 2016 at 12:14 PM, huai wang <doat...@gmail.com> wrote:hi.I am wondering whether my suggesting is reasonable, please give reply to me.thanks.2016-05-18 16:01 GMT+08:00 huai wang <doat...@gmail.com>:thanks for your reply.With background what you said, 2304804a-e35a-ee19-6d86-d176230fe7f3 is replaced by "Where-in initial UUID", but not the mysql specific, this uuid is same on all cluster node, but , as what in "@@global.gtid_executed", "1-3" is generated by local mysql node, not pxc xid(PXC GTID), this resulted in different SESSION.GTID_NEXT in binary logs among the cluster nodes(if not yet ,please execute reset master on any node), so SESSION.GTID_NEXT is not make sense in pxc cluster. so our suggestion is that when write the gtid event of binary logs, whether we can use the Xid value(Xid event in binary log in pxc cluster) directly, so in pxc cluster, the transaction have same Xid and SESSION.GTID_NEXT(Behind part)。I have modify the source code:file: rpl_gtid_cache.ccfunction: generate_automatic_gnobefore modify:
after modify:
so like above, the Binary log like as follows:
picture as follows is show the gtid_next and Xid event, we cat see the Xid and the behind part of gtid_next is same, and if execute reset master, it not changed.
my suggestion is all.waiting your reply.best wishes.zhufeng.wang
--
You received this message because you are subscribed to the Google Groups "Percona Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to percona-discuss...@googlegroups.com.
To post to this group, send email to percona-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/percona-discussion.
To view this discussion on the web visit https://groups.google.com/d/msgid/percona-discussion/302cc162-b798-452e-a92d-89ec0ced821c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Percona Discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/percona-discussion/2GkxxN587wg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to percona-discussion+unsub...@googlegroups.com.
To post to this group, send email to percona-discussion@googlegroups.com.
Visit this group at https://groups.google.com/group/percona-discussion.
To view this discussion on the web visit https://groups.google.com/d/msgid/percona-discussion/a579f42e-368c-4096-8041-2dcfa4e918b9%40googlegroups.com.