Skip to content

Show executing in pendingTasks toString output #130659

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ywangd
Copy link
Member

@ywangd ywangd commented Jul 5, 2025

A trivial change to make it easier to tell which task is executing. It is also consistent with the toXContent output.

A minor change to make it easier to tell which task is executing.
@ywangd ywangd requested a review from DaveCTurner July 5, 2025 02:18
@ywangd ywangd added >non-issue :Distributed Coordination/Distributed A catch all label for anything in the Distributed Coordination area. Please avoid if you can. v9.2.0 labels Jul 5, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination)

@elasticsearchmachine elasticsearchmachine added the Team:Distributed Coordination Meta label for Distributed Coordination team label Jul 5, 2025
@ywangd
Copy link
Member Author

ywangd commented Jul 5, 2025

For context, the pending tasks are logged when IT times out on waiting for relocation. It's helpful to see which task is executing in the output. I think it could also be helpful to print hot threads on timeout and we might be able to consolidate and reuse similar logic from ensureColor. I'll keep it separate from this PR though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Coordination/Distributed A catch all label for anything in the Distributed Coordination area. Please avoid if you can. >non-issue Team:Distributed Coordination Meta label for Distributed Coordination team v9.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants