Closed ZiheLiu closed 1 year ago
We have marked this issue as stale because it has been inactive for 6 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to StarRocks!
Steps to reproduce the behavior (Required)
kill -15 <be-pid>
. SendSIGTERM
signal to BE.Expected behavior (Required)
BE shutdowns normally.
Real behavior (Required)
ExternalScanContextMgr
ExternalScanContextMgr::_keep_alive_reaper
started inExecEnv::init()
.ExternalScanContextMgr
is desctucted byExecEnv::destroy()
when BE shutdowning.ExternalScanContextMgr::_keep_alive_reaper
is a detach thread and still running, and using the member variables fromExternalScanContextMgr
.2. EvHttpServer
EvHttpServer::worker
is created instart_be()
.EvHttpServer
will be desctructed byhttp_service.reset()
instart_be()
after receivingSIGTERM
.EvHttpServer::worker
is detach and and still running, and using the member variables fromEvHttpServer
.StarRocks version (Required)
select current_version()
https://github.com/StarRocks/starrocks/commit/09ac5d472de4d8ca9c06b4ad2b796f854dd2dfa3