Bifrost icon indicating copy to clipboard operation
Bifrost copied to clipboard

parseEventRow error

Open yunduan16 opened this issue 2 years ago • 0 comments

Version: 2.0.3 Mysql: 5.7

2022/11/16 13:16:52 parseEventRow len(tableSchemaMap)= 30 < columnsCount: 31 tableMap: {{1668482467 19 3306 145 2953376 0} 1560 1 brand_activity youzan_order_info [3 15 3 1 2 15 18 18 18 18 18 18 15 15 1 1 15 246 246 246 15 15 15 15 15 15 15 15 15 18 18] [] [0xc000697b30 0xc000697b80 0xc000697bd0 0xc000697c20 0xc000697c70 0xc000697cc0 0xc000697d10 0xc000697d60 0xc000697db0 0xc000697e00 0xc000697e50 0xc000697ea0 0xc000697ef0 0xc000697f40 0xc000697f90 0xc00010e280 0xc00010e2d0 0xc00010e320 0xc00010e370 0xc00010e3c0 0xc00010e460 0xc00010e4b0 0xc00010e500 0xc00010e550 0xc00010e5a0 0xc00010e5f0 0xc00010e640 0xc00010e690 0xc00010e6e0 0xc00010e780 0xc00010e7d0] [0 0 0 0]} 2022/11/16 13:16:52 goroutine 57 [running]: runtime/debug.Stack() /opt/homebrew/Cellar/go/1.18.2/libexec/src/runtime/debug/stack.go:24 +0x65 github.com/brokercap/Bifrost/Bristol/mysql.(*mysqlConn).DumpBinlog0.func1.1() /Users/yangth/go/src/Bifrost/Bristol/mysql/conn_dump.go:132 +0x13d panic({0x4e1c0e0, 0xc0008676c8}) /opt/homebrew/Cellar/go/1.18.2/libexec/src/runtime/panic.go:838 +0x207 github.com/brokercap/Bifrost/Bristol/mysql.(*eventParser).parseEventRow(0xc000a8baa0?, 0xc000a8baa0, 0xc000721c30, {0xc000580400, 0x1e, 0xc0001c65d0?}) /Users/yangth/go/src/Bifrost/Bristol/mysql/event_row.go:85 +0x4ec5 github.com/brokercap/Bifrost/Bristol/mysql.(*eventParser).parseRowsEvent(0xc0001be000, 0xc000a8baa0) /Users/yangth/go/src/Bifrost/Bristol/mysql/event_row.go:65 +0x358 github.com/brokercap/Bifrost/Bristol/mysql.(*eventParser).parseEvent(0xc0001be000, {0xc000556781, 0x13f, 0x13f}) /Users/yangth/go/src/Bifrost/Bristol/mysql/parser.go:256 +0x9f9 github.com/brokercap/Bifrost/Bristol/mysql.(*mysqlConn).DumpBinlog0.func1(0xc0001be000?, 0xc0005adc38, {0xc000556780?, 0x50ffb0e?, 0x1?}, 0xc0005adc18) /Users/yangth/go/src/Bifrost/Bristol/mysql/conn_dump.go:135 +0x9a github.com/brokercap/Bifrost/Bristol/mysql.(*mysqlConn).DumpBinlog0(0xc0003671f0?, 0xc0001be000, 0xc000216110) /Users/yangth/go/src/Bifrost/Bristol/mysql/conn_dump.go:136 +0x20f github.com/brokercap/Bifrost/Bristol/mysql.(*mysqlConn).DumpBinlogMySQLGtid(0xc000296300?, 0xc0001be000, 0x51107f8?) /Users/yangth/go/src/Bifrost/Bristol/mysql/conn_dump.go:66 +0x175 github.com/brokercap/Bifrost/Bristol/mysql.(*mysqlConn).DumpBinlogGtid(0xc00030a000?, 0xc0001be000, 0x0?) /Users/yangth/go/src/Bifrost/Bristol/mysql/conn_dump.go:52 +0x11b github.com/brokercap/Bifrost/Bristol/mysql.(*BinlogDump).startConnAndDumpBinlog(0xc00030a000) /Users/yangth/go/src/Bifrost/Bristol/mysql/binlog.go:263 +0x3d8 github.com/brokercap/Bifrost/Bristol/mysql.(*BinlogDump).StartDumpBinlog0(0xc00030a000) /Users/yangth/go/src/Bifrost/Bristol/mysql/binlog.go:137 +0x292 github.com/brokercap/Bifrost/Bristol/mysql.(*BinlogDump).StartDumpBinlogGtid(0xc00030a000, {0xc00017cc00?, 0x4594292?}, 0xd28, 0xc00011a5a0) /Users/yangth/go/src/Bifrost/Bristol/mysql/binlog.go:103 +0x298 created by github.com/brokercap/Bifrost/input/mysql.(*MysqlInput).Start0 /Users/yangth/go/src/Bifrost/input/mysql/mysql.go:70 +0x2d7

yunduan16 avatar Nov 16 '22 05:11 yunduan16