Bug #41601 ndb_log_orig can result in wrong orig_epoch and orig_server_id in ndb_binlog_ind
Submitted: 18 Dec 2008 19:25 Modified: 20 Jan 2009 19:00
Reporter: Tomas Ulin Email Updates:
Status: Closed Impact on me:
Category:MySQL Cluster: Replication Severity:S3 (Non-critical)
Version:cluster 6.2 -> OS:Any
Assigned to: Tomas Ulin CPU Architecture:Any

[18 Dec 2008 19:25] Tomas Ulin
using ndb_log_orig option

in ndb_binlog_index on the slave you will observe orig_epoch and orig_server_id that are not correct, they are instead id and epoch of local server...

How to repeat:
some see it, no reproducable test case
[18 Dec 2008 20:18] Bugs System
Pushed into 5.1.30-ndb-6.2.17 (revid:tomas.ulin@sun.com-20081218201638-w4e1sd0bq80pcl3e) (version source revid:tomas.ulin@sun.com-20081218201638-w4e1sd0bq80pcl3e) (merge vers: 5.1.30-ndb-6.2.17) (pib:6)
[18 Dec 2008 20:21] Bugs System
Pushed into 5.1.30-ndb-6.3.21 (revid:tomas.ulin@sun.com-20081218201915-m59bs9737nlygjop) (version source revid:tomas.ulin@sun.com-20081218201915-m59bs9737nlygjop) (merge vers: 5.1.30-ndb-6.3.21) (pib:6)
[18 Dec 2008 20:23] Bugs System
Pushed into 5.1.30-ndb-6.4.0 (revid:tomas.ulin@sun.com-20081218202136-2fi73hvrc2i2qug5) (version source revid:tomas.ulin@sun.com-20081218202136-2fi73hvrc2i2qug5) (merge vers: 5.1.30-ndb-6.4.0) (pib:6)
[19 Dec 2008 6:26] Tomas Ulin

Attachment: 41601.patch (text/x-diff), 4.25 KiB.

[20 Jan 2009 19:00] Jon Stephens
Documented bugfix in the NDB-6.2.17 and NDB-6.3.21 changelogs as follows:

        Sometimes, when using the --ndb_log_orig option, the orig_epoch
        and orig_server_id columns in the ndb_binlog_index table on the
        slave contained the ID and epoch of the local server instead.
[10 Feb 2009 20:13] Bugs System
Pushed into 6.0.10-alpha (revid:alik@sun.com-20090210194937-s7xshv5l3m1v7wi9) (version source revid:tomas.ulin@sun.com-20090108115759-b4yhuwkm6w8tg7j3) (merge vers: 6.0.10-alpha) (pib:6)
[12 Feb 2009 10:06] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:


2814 He Zhenxing	2009-02-12 [merge]
      Auto merge 6.0 -> 6.0-rpl