Comments (4)
from matrixone.
也许是这里死锁了:
goroutine 73303 [semacquire, 90 minutes]:
sync.runtime_Semacquire(0xc00073c0a0?)
/usr/local/go/src/runtime/sema.go:62 +0x27
sync.(*WaitGroup).Wait(0x0?)
/usr/local/go/src/sync/waitgroup.go:116 +0x4b
github.com/matrixorigin/matrixone/pkg/sql/compile.(*Compile).runOnce(0xc0062ab080)
/go/src/github.com/matrixorigin/matrixone/pkg/sql/compile/compile.go:588 +0x26b
github.com/matrixorigin/matrixone/pkg/sql/compile.(*Compile).Run(0xc0062ab080, 0xc03846c400?)
/go/src/github.com/matrixorigin/matrixone/pkg/sql/compile/compile.go:482 +0x579
github.com/matrixorigin/matrixone/pkg/frontend.(*MysqlCmdExecutor).executeStmt(0xc3b85bd920, {0x4398938, 0xc03613a210}, 0xc018e51000, {0x439ac70, 0xc03613a180}, 0xc021ad38c0, {0x43c2d20?, 0xc036139b30?}, 0x0, ...)
/go/src/github.com/matrixorigin/matrixone/pkg/frontend/mysql_cmd_executor.go:3911 +0x483d
github.com/matrixorigin/matrixone/pkg/frontend.(*MysqlCmdExecutor).doComQuery(0xc3b85bd920, {0x4398938, 0xc036137f80}, 0xc124f41080)
/go/src/github.com/matrixorigin/matrixone/pkg/frontend/mysql_cmd_executor.go:4232 +0x187e
github.com/matrixorigin/matrixone/pkg/frontend.(*MysqlCmdExecutor).ExecRequest(0xc3b85bd920, {0x4398938, 0xc036137f80}, 0x6058eb0?, 0xc038329590)
/go/src/github.com/matrixorigin/matrixone/pkg/frontend/mysql_cmd_executor.go:4403 +0x848
github.com/matrixorigin/matrixone/pkg/frontend.(*Routine).handleRequest(0xc058b8e870, 0xc03579c270?)
/go/src/github.com/matrixorigin/matrixone/pkg/frontend/routine.go:252 +0x422
github.com/matrixorigin/matrixone/pkg/frontend.(*RoutineManager).Handler(0xc0003a0310, {0x43cdc20, 0xc30d2ea700}, {0x3510960?, 0xc025df2460}, 0x4e0d35?)
/go/src/github.com/matrixorigin/matrixone/pkg/frontend/routine_manager.go:529 +0xd1a
github.com/matrixorigin/matrixone/pkg/frontend.(*MOServer).handleMessage(0xc000287780, {0x43cdc20, 0xc30d2ea700})
/go/src/github.com/matrixorigin/matrixone/pkg/frontend/server.go:145 +0xc5
github.com/fagongzi/goetty/v2.(*server).doStart.func2.1()
/go/pkg/mod/github.com/matrixorigin/goetty/[email protected]/application.go:356 +0x90
created by github.com/fagongzi/goetty/v2.(*server).doStart.func2
/go/pkg/mod/github.com/matrixorigin/goetty/[email protected]/application.go:348 +0x485
goroutine 158336 [select, 90 minutes]:
github.com/matrixorigin/matrixone/pkg/lockservice.(*waiter).wait(0xc02ca00000, {0x4398938, 0xc03615d380})
/go/src/github.com/matrixorigin/matrixone/pkg/lockservice/waiter.go:185 +0x15c
github.com/matrixorigin/matrixone/pkg/lockservice.(*localLockTable).doLock(0xc0390e3860, 0xc02adb8b40, 0x0?)
/go/src/github.com/matrixorigin/matrixone/pkg/lockservice/lock_table_local.go:142 +0x125
github.com/matrixorigin/matrixone/pkg/lockservice.(*localLockTable).lock(0xc0390e3860, {0x4398938, 0xc03615d380}, 0xc0905c8218?, {0xc036023d70, 0x2, 0x2}, {{0x1, 0x0, 0x0, ...}, ...}, ...)
/go/src/github.com/matrixorigin/matrixone/pkg/lockservice/lock_table_local.go:89 +0x318
github.com/matrixorigin/matrixone/pkg/lockservice.(*service).Lock(_, {_, _}, _, {_, _, _}, {0xc09afbb4d0, 0x10, 0x10}, ...)
/go/src/github.com/matrixorigin/matrixone/pkg/lockservice/service.go:155 +0x4f1
github.com/matrixorigin/matrixone/pkg/sql/colexec/lockop.doLock({0x4398938, 0xc03615d380}, 0x0?, {0x43cb900, 0xc0a5877b60}, 0x0?, 0xc021ad38c0, 0x0, {0x3d, 0x0, ...}, ...)
/go/src/github.com/matrixorigin/matrixone/pkg/sql/colexec/lockop/lock_op.go:442 +0x8ce
github.com/matrixorigin/matrixone/pkg/sql/colexec/lockop.LockTable({0x43cb900, 0xc0a5877b60}, 0xc021ad38c0, 0x43cb900?, {0x3d, 0x0, 0x0, 0x0, 0x18, 0xffff, ...}, ...)
/go/src/github.com/matrixorigin/matrixone/pkg/sql/colexec/lockop/lock_op.go:300 +0x2e8
github.com/matrixorigin/matrixone/pkg/sql/compile.doLockTable({0x43cb900, 0xc0a5877b60}, 0xc021ad38c0, {0x43ee8a0, 0xc02bbc8000}, 0x0?)
/go/src/github.com/matrixorigin/matrixone/pkg/sql/compile/ddl.go:2749 +0xc5
github.com/matrixorigin/matrixone/pkg/sql/compile.lockTable({0x4398938?, 0xc03615d350?}, {0x43cb900?, 0xc0a5877b60?}, 0x0?, {0x43ee8a0?, 0xc02bbc8000?}, {0xc0438ce575?, 0x0?}, {0x0, ...}, ...)
/go/src/github.com/matrixorigin/matrixone/pkg/sql/compile/ddl.go:2769 +0xef
github.com/matrixorigin/matrixone/pkg/sql/compile.(*Scope).DropTable(0xc0782bd200, 0xc0062ab080)
/go/src/github.com/matrixorigin/matrixone/pkg/sql/compile/ddl.go:1800 +0x51f
github.com/matrixorigin/matrixone/pkg/sql/compile.(*Compile).run(0xc0062ab080, 0xc0782bd200)
/go/src/github.com/matrixorigin/matrixone/pkg/sql/compile/compile.go:361 +0x49e
github.com/matrixorigin/matrixone/pkg/sql/compile.(*Compile).runOnce.func1()
/go/src/github.com/matrixorigin/matrixone/pkg/sql/compile/compile.go:581 +0x79
github.com/panjf2000/ants/v2.(*goWorker).run.func1()
/go/pkg/mod/github.com/panjf2000/ants/[email protected]/worker.go:67 +0x97
created by github.com/panjf2000/ants/v2.(*goWorker).run
/go/pkg/mod/github.com/panjf2000/ants/[email protected]/worker.go:48 +0x65
goroutine 177862 [syscall]:
runtime/pprof.readProfile()
/usr/local/go/src/runtime/cpuprof.go:230 +0x4b
runtime/pprof.profileWriter({0x436cba0?, 0xc034e008c0?})
/usr/local/go/src/runtime/pprof/pprof.go:810 +0x51
created by runtime/pprof.StartCPUProfile
/usr/local/go/src/runtime/pprof/pprof.go:794 +0x14a
goroutine 160192 [select, 78 minutes]:
github.com/matrixorigin/matrixone/pkg/common/morpc.(*Future).Get(0xc0634860a0)
/go/src/github.com/matrixorigin/matrixone/pkg/common/morpc/future.go:78 +0xe5
github.com/matrixorigin/matrixone/pkg/lockservice.(*client).Send(0xc0005a0960, {0x4398938?, 0xc03aff0630?}, 0x0?)
/go/src/github.com/matrixorigin/matrixone/pkg/lockservice/rpc.go:97 +0xb8
github.com/matrixorigin/matrixone/pkg/lockservice.(*remoteLockTable).lock(0xc027d29100, {0x4398938, 0xc03aff0630}, 0xc05cc96120, {0xc0808949d8?, 0x1, 0x1}, {{0x0, 0x1, 0x0, ...}, ...}, ...)
/go/src/github.com/matrixorigin/matrixone/pkg/lockservice/lock_table_remote.go:91 +0x418
github.com/matrixorigin/matrixone/pkg/lockservice.(*service).Lock(_, {_, _}, _, {_, _, _}, {0xc03ef17030, 0x10, 0x10}, ...)
/go/src/github.com/matrixorigin/matrixone/pkg/lockservice/service.go:155 +0x4f1
github.com/matrixorigin/matrixone/pkg/sql/colexec/lockop.doLock({0x4398938, 0xc03aff0630}, 0x0?, {0x43cb900, 0xc0aa14f840}, 0x0?, 0xc017f1c580, 0xc313974460, {0x3d, 0x0, ...}, ...)
/go/src/github.com/matrixorigin/matrixone/pkg/sql/colexec/lockop/lock_op.go:442 +0x8ce
github.com/matrixorigin/matrixone/pkg/sql/colexec/lockop.LockRows({0x43cb900, 0xc0aa14f840}, 0xc017f1c580, 0x2b881e0?, 0xc0808949a8?, {0x3d, 0x0, 0x0, 0x0, 0x18, ...}, ...)
/go/src/github.com/matrixorigin/matrixone/pkg/sql/colexec/lockop/lock_op.go:342 +0x2e5
github.com/matrixorigin/matrixone/pkg/sql/compile.lockRows({0x43cb900, 0xc0aa14f840}, 0xc017f1c580, {0x43ee8a0?, 0xc026b72000?}, 0xc313974460, 0x359f8c0?)
/go/src/github.com/matrixorigin/matrixone/pkg/sql/compile/ddl.go:2803 +0xaa
github.com/matrixorigin/matrixone/pkg/sql/compile.lockMoTable(0xc0218a3b80, {0xc03a49b740, 0x7}, {0xc03a49b748, 0x1c}, 0x4a1487?)
/go/src/github.com/matrixorigin/matrixone/pkg/sql/compile/ddl.go:2914 +0x19b
github.com/matrixorigin/matrixone/pkg/sql/compile.(*Compile).lockMetaTables(0xc0218a3b80)
/go/src/github.com/matrixorigin/matrixone/pkg/sql/compile/compile.go:744 +0x238
github.com/matrixorigin/matrixone/pkg/sql/compile.(*Compile).runOnce(0xc0218a3b80)
/go/src/github.com/matrixorigin/matrixone/pkg/sql/compile/compile.go:559 +0x4f
github.com/matrixorigin/matrixone/pkg/sql/compile.(*Compile).Run(0xc0218a3b80, 0xc0369d5800?)
/go/src/github.com/matrixorigin/matrixone/pkg/sql/compile/compile.go:482 +0x579
github.com/matrixorigin/matrixone/pkg/frontend.(*MysqlCmdExecutor).executeStmt(0xc024d79c20, {0x4398938, 0xc03af816e0}, 0xc018e51800, {0x439af48, 0xc08e8094d0}, 0xc017f1c580, {0x43c2d20?, 0xc03af83d60?}, 0x0, ...)
/go/src/github.com/matrixorigin/matrixone/pkg/frontend/mysql_cmd_executor.go:3911 +0x483d
github.com/matrixorigin/matrixone/pkg/frontend.(*MysqlCmdExecutor).doComQuery(0xc024d79c20, {0x4398938, 0xc03af81440}, 0xc259369f80)
/go/src/github.com/matrixorigin/matrixone/pkg/frontend/mysql_cmd_executor.go:4232 +0x187e
github.com/matrixorigin/matrixone/pkg/frontend.(*MysqlCmdExecutor).ExecRequest(0xc024d79c20, {0x4398938, 0xc03af81440}, 0x6058eb0?, 0xc0893c32d8)
/go/src/github.com/matrixorigin/matrixone/pkg/frontend/mysql_cmd_executor.go:4403 +0x848
github.com/matrixorigin/matrixone/pkg/frontend.(*Routine).handleRequest(0xc09b40da70, 0xc0241ebd80?)
/go/src/github.com/matrixorigin/matrixone/pkg/frontend/routine.go:252 +0x422
github.com/matrixorigin/matrixone/pkg/frontend.(*RoutineManager).Handler(0xc0003a0310, {0x43cdc20, 0xc029d21500}, {0x3510960?, 0xc3d6435900}, 0xc0055c8db8?)
/go/src/github.com/matrixorigin/matrixone/pkg/frontend/routine_manager.go:529 +0xd1a
github.com/matrixorigin/matrixone/pkg/frontend.(*MOServer).handleMessage(0xc000287780, {0x43cdc20, 0xc029d21500})
/go/src/github.com/matrixorigin/matrixone/pkg/frontend/server.go:145 +0xc5
github.com/fagongzi/goetty/v2.(*server).doStart.func2.1()
/go/pkg/mod/github.com/matrixorigin/goetty/[email protected]/application.go:356 +0x90
created by github.com/fagongzi/goetty/v2.(*server).doStart.func2
/go/pkg/mod/github.com/matrixorigin/goetty/[email protected]/application.go:348 +0x485
from matrixone.
fixed
from matrixone.
fixed
from matrixone.
Related Issues (20)
- [Bug]: rolling-update CN behind proxy cause prepared stmt lost HOT 1
- [Bug]: force flush failed. HOT 3
- [Bug]: snapshot bvt may panic HOT 3
- [Bug]: restore account HOT 3
- [Bug]: restore account if exists fk table ref other databasee will report "can not drop database. It has been referenced by foreign keys" HOT 1
- [Tech Request]: rename restrict operator to filter
- [Tech Request]: optmize duplicate check memory usage for sql like insert into t1 selct from t2
- [Bug]: stock_level txn timeout in 60s in tpcc 10-10 longrunning during statbility test on distributed HOT 2
- [Bug]: [tke regression] tpcc 100-1000 test oom. HOT 6
- [Bug]: CI/multi cn e2e run bvt `load data LOCAL infile` got FileNotFoundException HOT 4
- [Bug]: UT TestKill got error `panic BUG: StartStatement called twice`
- [Tech Request]: support read from cache without copy HOT 1
- [Tech Request]: add txn id in log
- [Bug]: restore fk table report can not find table by id in ci HOT 1
- [Bug]: Optimizer doesn't support ProjectList in SEMI Join
- [Bug]: restore single db multi table with fk report 'no such table'. HOT 1
- [Bug]: panic during merge when object is empty
- [Bug]: `context deadline exceeded` error occurs HOT 2
- [Bug]: New account used about 16GB storage HOT 2
- [Bug]: restore reported `w-w conflict` during race-enabled bvt test HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matrixone.