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

server closed when coordinator call AsyncStop #704

Closed
wk989898 opened this issue Dec 19, 2024 · 1 comment
Closed

server closed when coordinator call AsyncStop #704

wk989898 opened this issue Dec 19, 2024 · 1 comment

Comments

@wk989898
Copy link
Collaborator

log

[2024/12/19 20:18:47.511 +08:00] [INFO] [middleware.go:82] ["cdc open api request"] [status=200] [method=POST] [path=/api/v2/owner/resign] [query=] [ip=127.0.0.1] [user-agent=Go-http-client/1.1] [client-version=None] [username=] [] [duration=159.317µs]
[2024/12/19 20:18:47.513 +08:00] [INFO] [module_election.go:154] ["coordinator resigned successfully"] [captureID=9801cc1b-9e11-455e-ab46-a18c675604f4] [coordinatorVersion=433]
[2024/12/19 20:18:47.513 +08:00] [WARN] [module_election.go:158] ["run coordinator exited with error"] [captureID=9801cc1b-9e11-455e-ab46-a18c675604f4] [coordinatorVersion=433] [error="context canceled"]
[2024/12/19 20:18:47.515 +08:00] [DEBUG] [schema_store.go:272] [FetchTableTriggerDDLEvents] [start=454717794298888198] [limit=100]
[2024/12/19 20:18:47.516 +08:00] [WARN] [module_election.go:236] ["run log coordinator exited with error"] [captureID=9801cc1b-9e11-455e-ab46-a18c675604f4] [error="context canceled"]
[2024/12/19 20:18:47.517 +08:00] [INFO] [event_service.go:77] ["event service exited"]
[2024/12/19 20:18:47.517 +08:00] [INFO] [region_request_worker.go:188] ["region request worker receive from grpc stream failed"] [workerID=18] [storeID=7] [addr=127.0.0.1:20162] [code=Canceled] [error="rpc error: code = Canceled desc = context canceled"]
[2024/12/19 20:18:47.517 +08:00] [INFO] [client.go:267] ["WatchWithChan exited"] [role=capture-manager]
[2024/12/19 20:18:47.517 +08:00] [INFO] [region_request_worker.go:188] ["region request worker receive from grpc stream failed"] [workerID=2] [storeID=1] [addr=127.0.0.1:20161] [code=Canceled] [error="rpc error: code = Canceled desc = context canceled"]
[2024/12/19 20:18:47.517 +08:00] [DEBUG] [tcp_server.go:134] ["cmux has been canceled"] [error="context canceled"]
[2024/12/19 20:18:47.517 +08:00] [INFO] [region_request_worker.go:188] ["region request worker receive from grpc stream failed"] [workerID=3] [storeID=1] [addr=127.0.0.1:20161] [code=Canceled] [error="rpc error: code = Canceled desc = context canceled"]
[2024/12/19 20:18:47.517 +08:00] [INFO] [event_broker.go:677] ["update metrics goroutine is closing"]
[2024/12/19 20:18:47.518 +08:00] [INFO] [region_request_worker.go:151] ["region request worker exits"] [workerID=18] [storeID=7] [addr=127.0.0.1:20162] [canceled=true]
[2024/12/19 20:18:47.518 +08:00] [ERROR] [module_http.go:79] ["http server error"] [error="[CDC:ErrServeHTTP]serve http error: mux: server closed"] [errorVerbose="[CDC:ErrServeHTTP]serve http error: mux: server closed\ngithub.com/pingcap/errors.AddStack\n\tgithub.com/pingcap/[email protected]/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\tgithub.com/pingcap/[email protected]/normalize.go:175\ngithub.com/pingcap/tiflow/pkg/errors.WrapError\n\tgithub.com/pingcap/[email protected]/pkg/errors/helper.go:34\ngithub.com/pingcap/ticdc/server.(*HttpServer).Run\n\tgithub.com/pingcap/ticdc/server/module_http.go:79\ngithub.com/pingcap/ticdc/server.(*server).Run.(*server).Run.func3.func4\n\tgithub.com/pingcap/ticdc/server/server.go:182\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\tgolang.org/x/[email protected]/errgroup/errgroup.go:78\nruntime.goexit\n\truntime/asm_amd64.s:1700"] [ctx="context canceled"]
[2024/12/19 20:18:47.518 +08:00] [INFO] [region_request_worker.go:151] ["region request worker exits"] [workerID=3] [storeID=1] [addr=127.0.0.1:20161] [canceled=true]
[2024/12/19 20:18:47.518 +08:00] [INFO] [region_request_worker.go:151] ["region request worker exits"] [workerID=2] [storeID=1] [addr=127.0.0.1:20161] [canceled=true]
[2024/12/19 20:18:47.518 +08:00] [INFO] [subscription_client.go:376] ["subscription client exits"]
[2024/12/19 20:18:47.518 +08:00] [INFO] [schema_store.go:133] ["schema store closed"]
@wk989898
Copy link
Collaborator Author

close with #716 #720

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant