Skip to content

[FLINK-39984][runtime] Dispatch thread dump to ioExecutor#28778

Open
xingsuo-zbz wants to merge 1 commit into
apache:masterfrom
xingsuo-zbz:zbz/thread-dump-async
Open

[FLINK-39984][runtime] Dispatch thread dump to ioExecutor#28778
xingsuo-zbz wants to merge 1 commit into
apache:masterfrom
xingsuo-zbz:zbz/thread-dump-async

Conversation

@xingsuo-zbz

Copy link
Copy Markdown
Contributor

What is the purpose of the change

Fixes FLINK-39984.

Brief change log

Offload the dump to ioExecutor in both TaskExecutor#requestThreadDump and Dispatcher#requestThreadDump via CompletableFuture.supplyAsync, matching the pattern already used by other heavy TE handlers.

Verifying this change

This change is already covered by existing tests.

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): no
  • The public API, i.e., is any changed class annotated with @Public(Evolving): no
  • The serializers: no
  • The runtime per-record code paths (performance sensitive): no
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
  • The S3 file system connector: no

Documentation

  • Does this pull request introduce a new feature? no
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@flinkbot

flinkbot commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

@xingsuo-zbz

Copy link
Copy Markdown
Contributor Author

@flinkbot run azure

Offload the dump to ioExecutor in both TaskExecutor#requestThreadDump
and Dispatcher#requestThreadDump via CompletableFuture.supplyAsync,
matching the pattern already used by other heavy TE handlers.
@xingsuo-zbz
xingsuo-zbz force-pushed the zbz/thread-dump-async branch from c3261ed to 6ae3382 Compare July 21, 2026 07:14
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