Skip to content

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.

Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

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

LGTM (tho maybe "[executing]" or "" would be a little friendlier than just "true" or "false" here)

@ywangd
Copy link
Member Author

ywangd commented Jul 10, 2025

Updated per your suggestion (51b3104). Thanks!

@ywangd ywangd added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Jul 10, 2025
@elasticsearchmachine elasticsearchmachine merged commit 47a869a into elastic:main Jul 10, 2025
33 checks passed
@ywangd ywangd deleted the executing-in-to-string branch July 10, 2025 04:56
mridula-s109 pushed a commit to mridula-s109/elasticsearch that referenced this pull request Jul 17, 2025
A trivial change to make it easier to tell which task is executing. It
is also consistent with the toXContent output.
mridula-s109 pushed a commit to mridula-s109/elasticsearch that referenced this pull request Jul 17, 2025
A trivial change to make it easier to tell which task is executing. It
is also consistent with the toXContent output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :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.

3 participants