Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected "fail to generate plan info" warning log #53302

Open
ekexium opened this issue May 15, 2024 · 0 comments
Open

Unexpected "fail to generate plan info" warning log #53302

ekexium opened this issue May 15, 2024 · 0 comments
Labels
severity/moderate sig/planner SIG: Planner type/bug This issue is a bug.

Comments

@ekexium
Copy link
Contributor

ekexium commented May 15, 2024

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Run simple SQLs for sysbench schema
Not running anything

2. What did you expect to see? (Required)

3. What did you see instead (Required)

[adapter.go:1864] ["fail to generate plan info"] [backtrace="github.com/pingcap/tidb/pkg/executor.(*ExecStmt).SummaryStmt.func1.1\n\t/home/fedora/eke/tidb/pkg/executor/adapter.go:1865\ngithub.phpd.cn/pingcap/tidb/pkg/executor.(*ExecStmt).SummaryStmt.func1\n\t/home/fedora/eke/tidb/pkg/executor/adapter.go:1869\ngithub.phpd.cn/pingcap/tidb/pkg/util/stmtsummary.newStmtSummaryByDigestElement\n\t/home/fedora/eke/tidb/pkg/util/stmtsummary/statement_summary.go:652\ngithub.phpd.cn/pingcap/tidb/pkg/util/stmtsummary.(*stmtSummaryByDigest).add.func1\n\t/home/fedora/eke/tidb/pkg/util/stmtsummary/statement_summary.go:604\ngithub.phpd.cn/pingcap/tidb/pkg/util/stmtsummary.(*stmtSummaryByDigest).add\n\t/home/fedora/eke/tidb/pkg/util/stmtsummary/statement_summary.go:618\ngithub.phpd.cn/pingcap/tidb/pkg/util/stmtsummary.(*stmtSummaryByDigestMap).AddStatement\n\t/home/fedora/eke/tidb/pkg/util/stmtsummary/statement_summary.go:358\ngithub.phpd.cn/pingcap/tidb/pkg/util/stmtsummary/v2.Add\n\t/home/fedora/eke/tidb/pkg/util/stmtsummary/v2/stmtsummary.go:541\ngithub.phpd.cn/pingcap/tidb/pkg/executor.(*ExecStmt).SummaryStmt\n\t/home/fedora/eke/tidb/pkg/executor/adapter.go:1975\ngithub.phpd.cn/pingcap/tidb/pkg/executor.(*ExecStmt).FinishExecuteStmt\n\t/home/fedora/eke/tidb/pkg/executor/adapter.go:1363\ngithub.phpd.cn/pingcap/tidb/pkg/executor.(*ExecStmt).CloseRecordSet\n\t/home/fedora/eke/tidb/pkg/executor/adapter.go:1471\ngithub.phpd.cn/pingcap/tidb/pkg/executor.(*recordSet).Close\n\t/home/fedora/eke/tidb/pkg/executor/adapter.go:210\ngithub.phpd.cn/pingcap/tidb/pkg/session.(*execStmtResult).Close\n\t/home/fedora/eke/tidb/pkg/session/session.go:2374\ngithub.phpd.cn/pingcap/tidb/pkg/parser/terror.Call\n\t/home/fedora/eke/tidb/pkg/parser/terror/terror.go:315\ngithub.phpd.cn/pingcap/tidb/pkg/server/internal/resultset.(*tidbResultSet).Close\n\t/home/fedora/eke/tidb/pkg/server/internal/resultset/resultset.go:78\ngithub.phpd.cn/pingcap/tidb/pkg/server.(*clientConn).handleStmt\n\t/home/fedora/eke/tidb/pkg/server/conn.go:2055\ngithub.phpd.cn/pingcap/tidb/pkg/server.(*clientConn).handleQuery\n\t/home/fedora/eke/tidb/pkg/server/conn.go:1774\ngithub.phpd.cn/pingcap/tidb/pkg/server.(*clientConn).dispatch\n\t/home/fedora/eke/tidb/pkg/server/conn.go:1348\ngithub.phpd.cn/pingcap/tidb/pkg/server.(*clientConn).Run\n\t/home/fedora/eke/tidb/pkg/server/conn.go:1114\ngithub.phpd.cn/pingcap/tidb/pkg/server.(*Server).onConn\n\t/home/fedora/eke/tidb/pkg/server/server.go:739"] [error=null]

4. What is your TiDB version? (Required)

master (76133dc)

@ekexium ekexium added type/bug This issue is a bug. severity/moderate labels May 15, 2024
@jebter jebter added the sig/planner SIG: Planner label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/moderate sig/planner SIG: Planner type/bug This issue is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants