Skip to content

AutoRecovery - Do not call shutdown() on the main ZookKeeper client thread - #3487

Merged
nicoloboschi merged 1 commit into
apache:masterfrom
eolivelli:impl/auto-recovery-shutdown-lock
Sep 14, 2022
Merged

AutoRecovery - Do not call shutdown() on the main ZookKeeper client thread#3487
nicoloboschi merged 1 commit into
apache:masterfrom
eolivelli:impl/auto-recovery-shutdown-lock

Conversation

@eolivelli

Copy link
Copy Markdown
Contributor

Motivation

AutoRecoveryMain.shutdown() performs blocking operations.
We are calling "shutdown" on the main ZookKeeper client thread.

More context in this Pulsar case apache/pulsar#17638

Changes

Run "shutdown" in a separate thread

@nicoloboschi
nicoloboschi merged commit 6fc2e08 into apache:master Sep 14, 2022
nicoloboschi pushed a commit that referenced this pull request Sep 16, 2022
nicoloboschi pushed a commit that referenced this pull request Sep 16, 2022
nicoloboschi pushed a commit to datastax/bookkeeper that referenced this pull request Sep 16, 2022
@hangc0276 hangc0276 added this to the 4.16.0 milestone Oct 14, 2022
Ghatage pushed a commit to sijie/bookkeeper that referenced this pull request Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants