Skip to content

[Bug] [Worker] Worker will not exit when fail to start #10341

@ruanwenjun

Description

@ruanwenjun

Search before asking

  • I had searched in the issues and found no similar issues.

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?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

backendbugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions