Search before asking
What happened
When the worker start failure due to database connect error or some other initializes error. The worker will hang, since there are some no-damon thread is still running.
What you expected to happen
When worker start failuer, the worker process exit.
How to reproduce
Set an error db connect info, then start worker.
Anything else
Find the worker process will not exit, use jstack find there are some thread is running.
Version
dev
Are you willing to submit PR?
Code of Conduct
Search before asking
What happened
When the worker start failure due to database connect error or some other initializes error. The worker will hang, since there are some no-damon thread is still running.
What you expected to happen
When worker start failuer, the worker process exit.
How to reproduce
Set an error db connect info, then start worker.
Anything else
Find the worker process will not exit, use jstack find there are some thread is running.
Version
dev
Are you willing to submit PR?
Code of Conduct