这边查到的一些错误日志,希望有帮助,因为有的sql 直接index 越界了
[conn.go:736] [“connection running loop panic”] [conn=588469] [lastSQL="/* ApplicationName=IntelliJ IDEA 2019.3.5 */ select meeting_all_num, meeting_all_minutes, meeting_people from people_insights_data_detail_day_and_week where uuid=‘428ff6a1-bb37-42ac-9883-33d7a29961e6’ and date_type=‘day’"] [err=“runtime error: index out of range [80] with length 75”] [stack=“goroutine 460763579 [running]:\ngithub.com/pingcap/tidb/server.(*clientConn).Run.func1(0x4004660, 0xc0109b6c00, 0xc0554d2200)\
\t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb/server/conn.go:734 +0xee\
panic(0x3799860, 0xc0456b0140)\
\t/usr/local/go/src/runtime/panic.go:679 +0x1b2\ngithub.com/pingcap/tidb/server.(*clientConn).writeResultset.func1(0xc0452b9100, 0x4004660, 0xc0452e0930, 0xc0554d2200)\
\t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb/server/conn.go:1749 +0x4e2\
panic(0x3799860, 0xc0456b0140)\
\t/usr/local/go/src/runtime/panic.go:679 +0x1b2\ngithub.com/pingcap/tidb/util/chunk.(*Column).GetInt64(…)\
\t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb/util/chunk/column.go:503\ngithub.com/pingcap/tidb/util/chunk.Row.GetInt64(...)\
\t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb/util/chunk/row.go:52\
github.com/pingcap/tidb/server.dumpTextRow(0xc00ec80000, 0x4, 0x400, 0xc0456a0700, 0x3, 0x4, 0xc045526af0, 0xa, 0xc00ec80000, 0x22, …)\
\t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb/server/util.go:306 +0x18bf\ngithub.com/pingcap/tidb/server.(*clientConn).writeChunks(0xc0554d2200, 0x4004660, 0xc0452e0930, 0x4024d60, 0xc045526aa0, 0xc000029000, 0x1dfad36, 0x3678a20, 0x0)\
\t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb/server/conn.go:1840 +0x427\ngithub.com/pingcap/tidb/server.(*clientConn).writeResultset(0xc0554d2200, 0x4004660, 0xc0452e0930, 0x4024d60, 0xc045526aa0, 0x24d00, 0x0, 0x0, 0x0, 0x0)\
\t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb/server/conn.go:1762 +0x201\ngithub.com/pingcap/tidb/server.(*clientConn).handleStmt(0xc0554d2200, 0x4004660, 0xc0452e0930, 0x402b2a0, 0xc0535d9200, 0x5f96f80, 0x0, 0x0, 0x1, 0x0, …)\
\t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb/server/conn.go:1656 +0x242\ngithub.com/pingcap/tidb/server.(*clientConn).handleQuery(0xc0554d2200, 0x40045a0, 0xc0450e71c0, 0xc0435b88c1, 0xdd, 0x0, 0x0)\
\t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb/server/conn.go:1503 +0x44f\ngithub.com/pingcap/tidb/server.(*clientConn).dispatch(0xc0554d2200, 0x40045a0, 0xc0450e71c0, 0xc0435b88c0, 0xde, 0xdd, 0x0, 0x0)\
\t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb/server/conn.go:1037 +0x6f2\ngithub.com/pingcap/tidb/server.(*clientConn).Run(0xc0554d2200, 0x4004660, 0xc0109b6c00)\
\t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb/server/conn.go:795 +0x293\ngithub.com/pingcap/tidb/server.(*Server).onConn(0xc00137a1a0, 0xc0554d2200)\
\t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb/server/server.go:477 +0xb1b\
created by github.com/pingcap/tidb/server.(*Server).Run\
\t/home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tidb/server/server.go:380 +0x8a5\
”]