[Bug]: UT failed in TestKill(1.2-dev)
Is there an existing issue for the same bug?
- [X] I have checked the existing issues.
Branch Name
1.2-dev
Commit ID
f89ad17352ee036cfc59fe44f308eb71108754a8
Other Environment Information
- Hardware parameters:
- OS type:
- Others:
Actual Behavior
2024-09-29T13:07:29.4867674Z ==================
2024-09-29T13:07:29.4867861Z WARNING: DATA RACE
2024-09-29T13:07:29.4868101Z Read at 0x00c003e2f000 by goroutine 773:
2024-09-29T13:07:29.4868760Z github.com/matrixorigin/matrixone/pkg/frontend.(*Routine).killConnection.func1()
2024-09-29T13:07:29.4869494Z /home/runner/work/matrixone/matrixone/pkg/frontend/routine.go:400 +0x30
2024-09-29T13:07:29.4870227Z github.com/matrixorigin/matrixone/pkg/frontend.(*Routine).execCallbackBasedOnRequest()
2024-09-29T13:07:29.4870973Z /home/runner/work/matrixone/matrixone/pkg/frontend/routine.go:127 +0xbb
2024-09-29T13:07:29.4871744Z github.com/matrixorigin/matrixone/pkg/frontend.(*Routine).killConnection()
2024-09-29T13:07:29.4872486Z /home/runner/work/matrixone/matrixone/pkg/frontend/routine.go:406 +0x92
2024-09-29T13:07:29.4873053Z github.com/matrixorigin/matrixone/pkg/frontend.(*RoutineManager).kill()
2024-09-29T13:07:29.4873863Z /home/runner/work/matrixone/matrixone/pkg/frontend/routine_manager.go:345 +0x15d
2024-09-29T13:07:29.4874282Z github.com/matrixorigin/matrixone/pkg/frontend.doKill()
2024-09-29T13:07:29.4875160Z /home/runner/work/matrixone/matrixone/pkg/frontend/mysql_cmd_executor.go:1366 +0x139
2024-09-29T13:07:29.4875619Z github.com/matrixorigin/matrixone/pkg/frontend.handleKill()
2024-09-29T13:07:29.4876496Z /home/runner/work/matrixone/matrixone/pkg/frontend/mysql_cmd_executor.go:1375 +0x2be4
2024-09-29T13:07:29.4877005Z github.com/matrixorigin/matrixone/pkg/frontend.execInFrontend()
2024-09-29T13:07:29.4877777Z /home/runner/work/matrixone/matrixone/pkg/frontend/self_handle.go:354 +0x2be5
2024-09-29T13:07:29.4878502Z github.com/matrixorigin/matrixone/pkg/frontend.executeStmt()
2024-09-29T13:07:29.4879540Z /home/runner/work/matrixone/matrixone/pkg/frontend/mysql_cmd_executor.go:2491 +0x1612
2024-09-29T13:07:29.4879827Z github.com/matrixorigin/matrixone/pkg/frontend.dispatchStmt()
2024-09-29T13:07:29.4880317Z /home/runner/work/matrixone/matrixone/pkg/frontend/mysql_cmd_executor.go:2459 +0x498
2024-09-29T13:07:29.4880657Z github.com/matrixorigin/matrixone/pkg/frontend.executeStmtWithIncrStmt()
2024-09-29T13:07:29.4881124Z /home/runner/work/matrixone/matrixone/pkg/frontend/mysql_cmd_executor.go:2428 +0x308
2024-09-29T13:07:29.4881648Z github.com/matrixorigin/matrixone/pkg/frontend.executeStmtWithWorkspace()
2024-09-29T13:07:29.4882131Z /home/runner/work/matrixone/matrixone/pkg/frontend/mysql_cmd_executor.go:2388 +0x834
2024-09-29T13:07:29.4882443Z github.com/matrixorigin/matrixone/pkg/frontend.executeStmtWithTxn()
2024-09-29T13:07:29.4882924Z /home/runner/work/matrixone/matrixone/pkg/frontend/mysql_cmd_executor.go:2280 +0x1f9
2024-09-29T13:07:29.4883262Z github.com/matrixorigin/matrixone/pkg/frontend.executeStmtWithResponse()
2024-09-29T13:07:29.4883720Z /home/runner/work/matrixone/matrixone/pkg/frontend/mysql_cmd_executor.go:2244 +0x5c4
2024-09-29T13:07:29.4883983Z github.com/matrixorigin/matrixone/pkg/frontend.doComQuery()
2024-09-29T13:07:29.4884463Z /home/runner/work/matrixone/matrixone/pkg/frontend/mysql_cmd_executor.go:2837 +0x35ed
2024-09-29T13:07:29.4884729Z github.com/matrixorigin/matrixone/pkg/frontend.ExecRequest()
2024-09-29T13:07:29.4885202Z /home/runner/work/matrixone/matrixone/pkg/frontend/mysql_cmd_executor.go:2912 +0xd91
2024-09-29T13:07:29.4885532Z github.com/matrixorigin/matrixone/pkg/frontend.(*Routine).handleRequest()
2024-09-29T13:07:29.4885941Z /home/runner/work/matrixone/matrixone/pkg/frontend/routine.go:291 +0xa39
2024-09-29T13:07:29.4886280Z github.com/matrixorigin/matrixone/pkg/frontend.(*RoutineManager).Handler()
2024-09-29T13:07:29.4886745Z /home/runner/work/matrixone/matrixone/pkg/frontend/routine_manager.go:545 +0x13f3
2024-09-29T13:07:29.4887195Z github.com/matrixorigin/matrixone/pkg/frontend.(*RoutineManager).Handler-fm()
2024-09-29T13:07:29.4887349Z
Expected Behavior
No response
Steps to Reproduce
https://github.com/matrixorigin/matrixone/actions/runs/11092817495/job/30818328345?pr=19092
Additional information
No response
repro https://github.com/matrixorigin/matrixone/actions/runs/11342227288/job/31542169452
main 上已经改写了这个ut。没这个问题了
未投入
等2.0升级后就没问题了
等2.0升级后就没问题了
等2.0升级后。可关掉
等2.0升级后。可关掉
等2.0升级后。可关掉
等2.0升级后,可关掉
等2.0升级后,可关掉
等2.0升级后,可关掉
已经升级可关闭
@heni02 please help to close it