| Server IP : 45.40.142.9 / Your IP : 216.73.216.250 Web Server : Apache System : Linux s45-40-142-9.secureserver.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : bayspec ( 506) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/mysql-test/suite/ndb_binlog/r/ |
Upload File : |
alter table mysql.ndb_binlog_index drop primary key; use test; create table t1 (a int) engine=ndb; create procedure ins (rows int) begin set @x = 0; repeat insert into t1 values (1); set @x = @x + 1; until @x = rows end repeat; end% call ins(10000); Duplicate epochs according to mysql.ndb_binlog_index select epoch >> 32 as gci, (epoch << 32) >> 32 as ugci, sum(1) as count from mysql.ndb_binlog_index group by epoch having count > 1; gci ugci count Duplicate epochs according to MySQLD Binlog entries select epoch >> 32 as gci, (epoch << 32) >> 32 as ugci, sum(1) as count from epochs_in_binlog group by epoch having count > 1; gci ugci count reset master; alter table mysql.ndb_binlog_index add primary key (epoch, orig_server_id, orig_epoch); drop procedure ins; drop table t1;