Giter VIP home page Giter VIP logo

Comments (4)

gouhongshen avatar gouhongshen commented on June 9, 2024

https://grafana.cn-dev.matrixone.tech/explore?panes=%7B%22xP2%22:%7B%22datasource%22:%22aee71632-e6c2-4299-906a-cc73bb62fd3b%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22expr%22:%22%7Bmatrixorigin_io_component%3D%5C%22CNSet%5C%22,%20matrixorigin_io_owner%3D%5C%22018f27b5-0938-7abb-bcf9-d5789ce9bff3%5C%22%7D%20%7C%3D%20%60long%20running%60%22,%22queryType%22:%22range%22,%22datasource%22:%7B%22type%22:%22loki%22,%22uid%22:%22aee71632-e6c2-4299-906a-cc73bb62fd3b%22%7D,%22editorMode%22:%22builder%22%7D%5D,%22range%22:%7B%22from%22:%221714371193096%22,%22to%22:%221714380146279%22%7D%7D%7D&schemaVersion=1&orgId=1

from matrixone.

gouhongshen avatar gouhongshen commented on June 9, 2024

也许是这里死锁了:

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.

zhangxu19830126 avatar zhangxu19830126 commented on June 9, 2024

fixed

from matrixone.

aressu1985 avatar aressu1985 commented on June 9, 2024

fixed

from matrixone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.