Bug #19141 | DD: CREATE LFG during DROP of a NDB table cause DN failure and corruption | ||
---|---|---|---|
Submitted: | 17 Apr 2006 15:43 | Modified: | 23 Apr 2006 1:15 |
Reporter: | Jonathan Miller | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S2 (Serious) |
Version: | 5.1.10 | OS: | Linux (Linux 32 Bit OS) |
Assigned to: | Jonas Oreland | CPU Architecture: | Any |
[17 Apr 2006 15:43]
Jonathan Miller
[17 Apr 2006 15:47]
Jonathan Miller
Trying to recover without using --initial on the failed DN Time: Monday 17 April 2006 - 17:25:03 Status: Temporary error, restart node Message: Assertion (Internal error, programming error or missing error message, please report a bug) Error: 2301 Error data: Invalid memory access: ptr (ffffff00 0xd3d17c10) magic: (00000000 000000e2) memroot: 0xd3d18000 page: ffffff00 Error object: LGMAN (Line: 42) 0x0000000a Program: /home/ndbdev/jmiller/builds/libexec/ndbd Pid: 9930 Trace: /space/run/ndb_2_trace.log.2 Version: Version 5.1.10 (beta) ***EOM*** --------------- Signal ---------------- r.bn: 260 "LGMAN", r.proc: 2, r.sigId: 192856 gsn: 164 "CONTINUEB" prio: 1 s.bn: 260 "LGMAN", s.proc: 2, s.sigId: 192855 length: 2 trace: 2 #sec: 0 fragInf: 0 H'00000006 H'00004000 --------------- Signal ---------------- r.bn: 260 "LGMAN", r.proc: 2, r.sigId: 192855 gsn: 164 "CONTINUEB" prio: 1 s.bn: 260 "LGMAN", s.proc: 2, s.sigId: 192853 length: 2 trace: 2 #sec: 0 fragInf: 0 H'00000004 H'ffffff00 --------------- Signal ---------------- r.bn: 254 "CMVMI", r.proc: 2, r.sigId: 192854 gsn: 247 "EVENT_REP" prio: 1 s.bn: 260 "LGMAN", s.proc: 2, s.sigId: 0 length: 7 trace: 2 #sec: 0 fragInf: 0 H'00000031 H'6c707041 H'676e6979 H'646e7520 H'6f74206f H'50434c20 H'0033203a --------------- Signal ---------------- r.bn: 260 "LGMAN", r.proc: 2, r.sigId: 192853 gsn: 386 "START_RECREQ" prio: 1 s.bn: 247 "DBLQH", s.proc: 2, s.sigId: 192850 length: 1 trace: 2 #sec: 0 fragInf: 0 receivingNodeId: 3 senderRef: (28737, 27760) keepGci: 1735289209 lastCompletedGci: 1684960544 newestGci: 1869881455 --------------- Signal ---------------- r.bn: 248 "DBACC", r.proc: 2, r.sigId: 192852 gsn: 253 "EXPANDCHECK2" prio: 1 s.bn: 247 "DBLQH", s.proc: 2, s.sigId: 192850 length: 2 trace: 2 #sec: 0 fragInf: 0 H'00000001 H'00000002 --------------- Signal ---------------- r.bn: 248 "DBACC", r.proc: 2, r.sigId: 192851 gsn: 253 "EXPANDCHECK2" prio: 1 s.bn: 247 "DBLQH", s.proc: 2, s.sigId: 192850 length: 2 trace: 2 #sec: 0 fragInf: 0 --------------- Signal ---------------- r.bn: 247 "DBLQH", r.proc: 2, r.sigId: 192850 gsn: 89 "Unknown" prio: 1 s.bn: 262 "RESTORE", s.proc: 2, s.sigId: 192848 length: 2 trace: 2 #sec: 0 fragInf: 0 H'00000002 H'01060002 --------------- Signal ---------------- r.bn: 253 "NDBFS", r.proc: 2, r.sigId: 192849 gsn: 164 "CONTINUEB" prio: 1 s.bn: 253 "NDBFS", s.proc: 2, s.sigId: 192846 length: 1 trace: 0 #sec: 0 fragInf: 0 Scanning the memory channel again with no delay --------------- Signal ---------------- r.bn: 262 "RESTORE", r.proc: 2, r.sigId: 192848 gsn: 255 "FSCLOSECONF" prio: 1 s.bn: 253 "NDBFS", s.proc: 2, s.sigId: 192846 length: 1 trace: 2 #sec: 0 fragInf: 0 UserPointer: 0 --------------- Signal ---------------- r.bn: 252 "QMGR", r.proc: 2, r.sigId: 192847 gsn: 164 "CONTINUEB" prio: 0 s.bn: 252 "QMGR", s.proc: 2, s.sigId: 192845 length: 1 trace: 0 #sec: 0 fragInf: 0 H'00000004 --------------- Signal ---------------- r.bn: 253 "NDBFS", r.proc: 2, r.sigId: 192846 gsn: 164 "CONTINUEB" prio: 0 s.bn: 253 "NDBFS", s.proc: 2, s.sigId: 192844 length: 1 trace: 0 #sec: 0 fragInf: 0 Scanning the memory channel every 10ms --------------- Signal ---------------- r.bn: 253 "NDBFS", r.proc: 2, r.sigId: 192843 gsn: 257 "FSCLOSEREQ" prio: 0 s.bn: 262 "RESTORE", s.proc: 2, s.sigId: 192842 length: 4 trace: 2 #sec: 0 fragInf: 0 UserPointer: 0 FilePointer: 60 Flags: H'00000000, Don't remove file --------------- Signal ---------------- r.bn: 262 "RESTORE", r.proc: 2, r.sigId: 192842 gsn: 164 "CONTINUEB" prio: 1 s.bn: 262 "RESTORE", s.proc: 2, s.sigId: 192841 length: 2 trace: 2 #sec: 0 fragInf: 0 H'00000000 H'00000000 --------------- Signal ---------------- r.bn: 262 "RESTORE", r.proc: 2, r.sigId: 192841 gsn: 164 "CONTINUEB" prio: 1 s.bn: 262 "RESTORE", s.proc: 2, s.sigId: 192840 length: 2 trace: 2 #sec: 0 fragInf: 0 H'00000000 H'00000000 --------------- Signal ---------------- r.bn: 262 "RESTORE", r.proc: 2, r.sigId: 192840 gsn: 164 "CONTINUEB" prio: 1 s.bn: 262 "RESTORE", s.proc: 2, s.sigId: 192839 length: 2 trace: 2 #sec: 0 fragInf: 0 H'00000000 H'00000000 --------------- Signal ---------------- r.bn: 262 "RESTORE", r.proc: 2, r.sigId: 192839 gsn: 164 "CONTINUEB" prio: 1 s.bn: 262 "RESTORE", s.proc: 2, s.sigId: 192838 length: 2 trace: 2 #sec: 0 fragInf: 0 H'00000000 H'00000000 --------------- Signal ---------------- r.bn: 262 "RESTORE", r.proc: 2, r.sigId: 192838 gsn: 164 "CONTINUEB" prio: 1 s.bn: 262 "RESTORE", s.proc: 2, s.sigId: 192837 length: 2 trace: 2 #sec: 0 fragInf: 0 H'00000000 H'00000000 --------------- Signal ---------------- r.bn: 262 "RESTORE", r.proc: 2, r.sigId: 192837 gsn: 164 "CONTINUEB" prio: 1 s.bn: 262 "RESTORE", s.proc: 2, s.sigId: 192836 length: 2 trace: 2 #sec: 0 fragInf: 0 H'00000000 H'00000000 --------------- Signal ----------------
[17 Apr 2006 16:34]
Jonathan Miller
Data node recoverd with --initial, but database is still corrupted. Node 2: Started (version 5.1.10) ndb_mgm> exit $ mysql -u root Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 62 to server version: 5.1.10-beta-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use TESTER; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> drop table t1; ERROR 1051 (42S02): Unknown table 't1' mysql> show tables; +------------------+ | Tables_in_TESTER | +------------------+ | t1 | +------------------+ 1 row in set (0.00 sec) mysql> DROP DATABASE TESTER; ERROR 1051 (42S02): Unknown table 't1' mysql> show tables; ERROR 1046 (3D000): No database selected mysql> use TESTER; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> show tables; +------------------+ | Tables_in_TESTER | +------------------+ | t1 | +------------------+ 1 row in set (0.00 sec) mysql>
[21 Apr 2006 14:46]
Tomas Ulin
pushed to 5.1.10
[23 Apr 2006 1:15]
Jon Stephens
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html Additional info: Documented bugfix in 5.1.10 changelog. Closed.