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

[Bug]: bvt failed in snapshot_restore_to_table_fk.sql #19787

Open
1 task done
qingxinhome opened this issue Nov 5, 2024 · 1 comment
Open
1 task done

[Bug]: bvt failed in snapshot_restore_to_table_fk.sql #19787

qingxinhome opened this issue Nov 5, 2024 · 1 comment
Assignees
Labels
bvt error occurred during bvt test kind/bug Something isn't working severity/s0 Extreme impact: Cause the application to break down and seriously affect the use
Milestone

Comments

@qingxinhome
Copy link
Contributor

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

c64026a

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

[ERROR]
[SCRIPT FILE]: /home/runner/work/matrixone/matrixone/head/test/distributed/cases/snapshot/snapshot_restore_to_table_fk.sql
[ROW NUMBER]: 79
[SQL STATEMENT]: restore account acc01 from snapshot snapshot_01;
[EXPECT RESULT]:
null
[ACTUAL RESULT]:
internal error: panic delete table failed: query failed:
github.com/matrixorigin/matrixone/pkg/vm/engine/disttae.(*txnDatabase).deleteTable
/home/runner/work/matrixone/matrixone/head/pkg/vm/engine/disttae/txn_database.go:257
github.com/matrixorigin/matrixone/pkg/vm/engine/disttae.(*txnDatabase).Delete
/home/runner/work/matrixone/matrixone/head/pkg/vm/engine/disttae/txn_database.go:176
github.com/matrixorigin/matrixone/pkg/sql/compile.(*Scope).DropTable
/home/runner/work/matrixone/matrixone/head/pkg/sql/compile/ddl.go:2534
github.com/matrixorigin/matrixone/pkg/sql/compile.(*Compile).run
/home/runner/work/matrixone/matrixone/head/pkg/sql/compile/compile.go:382
github.com/matrixorigin/matrixone/pkg/sql/compile.(*Compile).runOnce
/home/runner/work/matrixone/matrixone/head/pkg/sql/compile/compile.go:480
github.com/matrixorigin/matrixone/pkg/sql/compile.(*Compile).Run
/home/runner/work/matrixone/matrixone/head/pkg/sql/compile/compile2.go:249
github.com/matrixorigin/matrixone/pkg/frontend.executeStatusStmtInBack
/home/runner/work/matrixone/matrixone/head/pkg/frontend/back_status_stmt.go:35
github.com/matrixorigin/matrixone/pkg/frontend.executeStmtInBack
/home/runner/work/matrixone/matrixone/head/pkg/frontend/back_exec.go:465
github.com/matrixorigin/matrixone/pkg/frontend.dispatchStmt
/home/runner/work/matrixone/matrixone/head/pkg/frontend/mysql_cmd_executor.go:2643
github.com/matrixorigin/matrixone/pkg/frontend.executeStmtWithIncrStmt
/home/runner/work/matrixone/matrixone/head/pkg/frontend/mysql_cmd_executor.go:2610
github.com/matrixorigin/matrixone/pkg/frontend.executeStmtWithWorkspace
/home/runner/work/matrixone/matrixone/head/pkg/frontend/mysql_cmd_executor.go:2555
github.com/matrixorigin/matrixone/pkg/frontend.executeStmtWithTxn
/home/runner/work/matrixone/matrixone/head/pkg/frontend/mysql_cmd_executor.go:2447
github.com/matrixorigin/matrixone/pkg/frontend.doComQueryInBack
/home/runner/work/matrixone/matrixone/head/pkg/frontend/back_exec.go:375
github.com/matrixorigin/matrixone/pkg/frontend.(*backExec).Exec
/home/runner/work/matrixone/matrixone/head/pkg/frontend/back_exec.go:133
github.com/matrixorigin/matrixone/pkg/frontend.recreateTable
/home/runner/work/matrixone/matrixone/head/pkg/frontend/snapshot.go:1066
github.com/matrixorigin/matrixone/pkg/frontend.restoreSystemDatabase
/home/runner/work/matrixone/matrixone/head/pkg/frontend/snapshot.go:885
github.com/matrixorigin/matrixone/pkg/frontend.restoreToAccount
/home/runner/work/matrixone/matrixone/head/pkg/frontend/snapshot.go:642
github.com/matrixorigin/matrixone/pkg/frontend.doRestoreSnapshot
/home/runner/work/matrixone/matrixone/head/pkg/frontend/snapshot.go:470
github.com/matrixorigin/matrixone/pkg/frontend.handleRestoreSnapshot
/home/runner/work/matrixone/matrixone/head/pkg/frontend/mysql_cmd_executor.go:1193
github.com/matrixorigin/matrixone/pkg/frontend.execInFrontend
/home/runner/work/matrixone/matrixone/head/pkg/frontend/self_handle.go:414
github.com/matrixorigin/matrixone/pkg/frontend.executeStmt
/home/runner/work/matrixone/matrixone/head/pkg/frontend/mysql_cmd_executor.go:2680
github.com/matrixorigin/matrixone/pkg/frontend.dispatchStmt
/home/runner/work/matrixone/matrixone/head/pkg/frontend/mysql_cmd_executor.go:2641
github.com/matrixorigin/matrixone/pkg/frontend.executeStmtWithIncrStmt
/home/runner/work/matrixone/matrixone/head/pkg/frontend/mysql_cmd_executor.go:2610
github.com/matrixorigin/matrixone/pkg/frontend.executeStmtWithWorkspace
/home/runner/work/matrixone/matrixone/head/pkg/frontend/mysql_cmd_executor.go:2555
github.com/matrixorigin/matrixone/pkg/frontend.executeStmtWithTxn
/home/runner/work/matrixone/matrixone/head/pkg/frontend/mysql_cmd_executor.go:2447
github.com/matrixorigin/matrixone/pkg/frontend.executeStmtWithResponse
/home/runner/work/matrixone/matrixone/head/pkg/frontend/mysql_cmd_executor.go:2411
github.com/matrixorigin/matrixone/pkg/frontend.doComQuery
/home/runner/work/matrixone/matrixone/head/pkg/frontend/mysql_cmd_executor.go:3041
github.com/matrixorigin/matrixone/pkg/frontend.ExecRequest
/home/runner/work/matrixone/matrixone/head/pkg/frontend/mysql_cmd_executor.go:3118
github.com/matrixorigin/matrixone/pkg/frontend.(*Routine).handleRequest
/home/runner/work/matrixone/matrixone/head/pkg/frontend/routine.go:287
github.com/matrixorigin/matrixone/pkg/frontend.(*RoutineManager).Handler
/home/runner/work/matrixone/matrixone/head/pkg/frontend/routine_manager.go:385
github.com/matrixorigin/matrixone/pkg/frontend.(*MOServer).handleRequest
/home/runner/work/matrixone/matrixone/head/pkg/frontend/server.go:515
github.com/matrixorigin/matrixone/pkg/frontend.(*MOServer).handleMessage
/home/runner/work/matrixone/matrixone/head/pkg/frontend/server.go:483

Expected Behavior

No response

Steps to Reproduce

https://github.com/matrixorigin/matrixone/actions/runs/11665808296/job/32479355499?pr=19751

Additional information

No response

@qingxinhome qingxinhome added kind/bug Something isn't working needs-triage labels Nov 5, 2024
@qingxinhome qingxinhome added the bvt error occurred during bvt test label Nov 5, 2024
@YANGGMM
Copy link
Contributor

YANGGMM commented Nov 5, 2024

@YANGGMM YANGGMM assigned aptend and unassigned matrix-meow Nov 5, 2024
@YANGGMM YANGGMM added the severity/s0 Extreme impact: Cause the application to break down and seriously affect the use label Nov 5, 2024
@sukki37 sukki37 added this to the 2.0.1 milestone Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bvt error occurred during bvt test kind/bug Something isn't working severity/s0 Extreme impact: Cause the application to break down and seriously affect the use
Projects
None yet
Development

No branches or pull requests

5 participants