Skip to content

DAL: Fix thread leak when DN exit.#15395

Merged
OneSizeFitsQuorum merged 1 commit intoapache:masterfrom
Pengzna:IoTV2/file-corruption
Apr 27, 2025
Merged

DAL: Fix thread leak when DN exit.#15395
OneSizeFitsQuorum merged 1 commit intoapache:masterfrom
Pengzna:IoTV2/file-corruption

Conversation

@Pengzna
Copy link
Collaborator

@Pengzna Pengzna commented Apr 22, 2025

We should use shutdownNow instead of shutdown to send an interruption signal to thread.

Test has shown results as expected:
image

Copy link
Contributor

@OneSizeFitsQuorum OneSizeFitsQuorum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@OneSizeFitsQuorum OneSizeFitsQuorum merged commit a2f0204 into apache:master Apr 27, 2025
49 of 50 checks passed
JackieTien97 pushed a commit that referenced this pull request May 14, 2025
@Pengzna Pengzna deleted the IoTV2/file-corruption branch June 18, 2025 14:12
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

Successfully merging this pull request may close these issues.

2 participants