Description:
see below
How to repeat:
in one window:
./mysql-test-run --fast --start-and-exit --do-test=ndb
../client/mysql test -u root --socket=var/tmp/master.sock
mysql> create table t1 (i int key) engine=ndbcluster;
in another window:
../storage/ndb/src/mgmclient/ndb_mgm localhost 9350
ndb_mgm> 2 restart -n
in first window:
master> alter table t1 add column b int;
in other window:
ndb_mgm> 2 start
BAM!
on node 1:
Message: Internal program error (failed ndbassert) (Internal error, programming error or missing error message, please report a bug)
Error: 2343
Error data: dbtup/DbtupScan.cpp
Error object: DBTUP (Line: 327) 0x0000000e
in code:
case AccLockReq::Refused:
jam();
// we cannot see deleted tuple (assert only)
ndbassert(false);
// skip it
trace log on node 1:
DBTUP 028206 003208 003482 003208 003482
DBACC 001816 001823 001830 001832 001845
DBACC 001062 002652 002729 001162
DBTUP 032304 032325 000327
--------------- Signal ----------------
r.bn: 249 "DBTUP", r.proc: 1, r.sigId: 142135 gsn: 332 "NEXT_SCANREQ" prio: 1
s.bn: 247 "DBLQH", s.proc: 1, s.sigId: 142134 length: 3 trace: 2 #sec: 0 fragInf: 0
H'00000001 H'ffffff00 H'00000001
--------------- Signal ----------------
r.bn: 247 "DBLQH", r.proc: 1, r.sigId: 142134 gsn: 389 "STORED_PROCCONF" prio: 1
s.bn: 249 "DBTUP", s.proc: 1, s.sigId: 142133 length: 2 trace: 2 #sec: 0 fragInf: 0
H'0000000b H'00000000
--------------- Signal ----------------
r.bn: 249 "DBTUP", r.proc: 1, r.sigId: 142133 gsn: 391 "STORED_PROCREQ" prio: 1
s.bn: 247 "DBLQH", s.proc: 1, s.sigId: 142132 length: 5 trace: 2 #sec: 0 fragInf: 0
H'0000000b H'00000003 H'00000001 H'00000002 H'00000080
--------------- Signal ----------------
r.bn: 247 "DBLQH", r.proc: 1, r.sigId: 142132 gsn: 86 "ACC_SCANCONF" prio: 1
s.bn: 249 "DBTUP", s.proc: 1, s.sigId: 142131 length: 8 trace: 2 #sec: 0 fragInf: 0
H'00000000 H'00000001 H'00000003 H'00000000 H'00000080 H'00000000 H'0f700100
H'00000001
--------------- Signal ----------------
r.bn: 249 "DBTUP", r.proc: 1, r.sigId: 142131 gsn: 88 "ACC_SCANREQ" prio: 1
s.bn: 247 "DBLQH", s.proc: 1, s.sigId: 142130 length: 8 trace: 2 #sec: 0 fragInf: 0
H'00000000 H'00f70001 H'00000003 H'00000000 H'00000080 H'00000000 H'0f700100
H'00000000
--------------- Signal ----------------
r.bn: 247 "DBLQH", r.proc: 1, r.sigId: 142130 gsn: 171 "COPY_FRAGREQ" prio: 1
s.bn: 246 "DBDIH", s.proc: 1, s.sigId: 142129 length: 8 trace: 2 #sec: 0 fragInf: 0
H'00000030 H'00f60001 H'00000003 H'00000000 H'00000002 H'00000001 H'00000001
H'00000000
--------------- Signal ----------------
r.bn: 246 "DBDIH", r.proc: 1, r.sigId: 142129 gsn: 178 "CREATE_FRAGCONF" prio: 1
s.bn: 246 "DBDIH", s.proc: 2, s.sigId: -1 length: 5 trace: 2 #sec: 0 fragInf: 0
H'00000030 H'00000003 H'00000000 H'00000002 H'00000002
--------------- Signal ----------------
r.bn: 246 "DBDIH", r.proc: 1, r.sigId: 142128 gsn: 178 "CREATE_FRAGCONF" prio: 1
s.bn: 246 "DBDIH", s.proc: 1, s.sigId: 142126 length: 5 trace: 2 #sec: 0 fragInf: 0
H'00000030 H'00000003 H'00000000 H'00000001 H'00000002
--------------- Signal ----------------
r.bn: 246 "DBDIH", r.proc: 1, r.sigId: 142127 gsn: 362 "UTIL_UNLOCK_CONF" prio: 1
s.bn: 256 "DBUTIL", s.proc: 1, s.sigId: 142125 length: 3 trace: 2 #sec: 0 fragInf: 0
senderData: 0
senderRef: 1000001
lockId: 1
--------------- Signal ----------------
r.bn: 246 "DBDIH", r.proc: 1, r.sigId: 142126 gsn: 180 "CREATE_FRAGREQ" prio: 1
s.bn: 246 "DBDIH", s.proc: 1, s.sigId: 142123 length: 8 trace: 2 #sec: 0 fragInf: 0
H'00000030 H'00f60001 H'00000003 H'00000000 H'00000002 H'00000001 H'00000000