Repository navigation
Description
Is there an existing issue for the same bug?
- I have checked the existing issues.
Branch Name
main
Commit ID
Other Environment Information
- Hardware parameters:
3*CN: 16C 64G
1*DN: 16C 64G
3*LOG: 4C 16G
2*PROXY: 3C 6G
- OS type:
- Others:Actual Behavior
During stability test on distributed mode, sometimes proxy may craashed by:
{"level":"INFO","time":"2024/04/25 10:48:22.495036 +0000","name":"proxy-service","caller":"proxy/tunnel.go:292","msg":"set tunnel transfer intent","uuid":"35326365-6538-6138-6561-333262383933","conn ID":1008,"value":false}
{"level":"INFO","time":"2024/04/25 10:48:22.495079 +0000","name":"proxy-service","caller":"proxy/tunnel.go:315","msg":"transfer end","uuid":"35326365-6538-6138-6561-333262383933","conn ID":1008}
panic: sync: negative WaitGroup counter
goroutine 2178 [running]:
sync.(*WaitGroup).Add(0xc0028072e0, 0xffffffffffffffff)
/usr/local/go/src/sync/waitgroup.go:62 +0x16c
sync.(*WaitGroup).Done(0xc0028072e0)
/usr/local/go/src/sync/waitgroup.go:87 +0x1f
github.com/matrixorigin/matrixone/pkg/proxy.(*pipe).handleTransferIntent(0xc002807300, {0x6d7a110, 0xc005e9d180}, 0xc0028072e0)
/go/src/github.com/matrixorigin/matrixone/pkg/proxy/tunnel.go:585 +0x99
github.com/matrixorigin/matrixone/pkg/proxy.(*pipe).kickoff(0xc002807300, {0x6d7a110, 0xc005e9d180}, 0xc002807280)
/go/src/github.com/matrixorigin/matrixone/pkg/proxy/tunnel.go:556 +0x49a
github.com/matrixorigin/matrixone/pkg/proxy.(*tunnel).kickoff.func2()
/go/src/github.com/matrixorigin/matrixone/pkg/proxy/tunnel.go:215 +0x54
created by github.com/matrixorigin/matrixone/pkg/proxy.(*tunnel).kickoff in goroutine 2153
/go/src/github.com/matrixorigin/matrixone/pkg/proxy/tunnel.go:214 +0x1e7
mo-log:
proxy_panic.tar.gz
Expected Behavior
No response
Steps to Reproduce
1. run a mo cluster with config in this issue
2. run tpch 10G loop test processes in one independant tenant
3. run tpcc 10 warehouse and 10 ternimals longrunnig test processes in one independant tenant, prepare mode
4. run sysbench mixed cases(insert/delete/update/select) longrunnig test processes with 75 terminals in one independant tenant,non-prepare mode
5. run another sysbench mixed cases(insert/delete/update/select) longrunnig test processe with 75 terminals in one independant tenant,non-prepare modeAdditional information
No response
Activity
volgariver6 commentedon Apr 26, 2024
fixed by #15682
aressu1985 commentedon May 7, 2024
fixed