Skip to content

Make hot-threads dump sortable#149378

Open
DaveCTurner wants to merge 2 commits into
elastic:mainfrom
DaveCTurner:2026/05/19/log-hot-threads-sorting
Open

Make hot-threads dump sortable#149378
DaveCTurner wants to merge 2 commits into
elastic:mainfrom
DaveCTurner:2026/05/19/log-hot-threads-sorting

Conversation

@DaveCTurner
Copy link
Copy Markdown
Member

Today if a hot threads dump is split into more than 9 parts then naively
sorting the messages (as strings) does not produce the correct output.
This commit adds leading zeroes to the chunk indices to make them easier
to sort correctly.

Today if a hot threads dump is split into more than 9 parts then naively
sorting the messages (as strings) does not produce the correct output.
This commit adds leading zeroes to the chunk indices to make them easier
to sort correctly.
@DaveCTurner DaveCTurner requested a review from nicktindall May 19, 2026 10:44
@DaveCTurner DaveCTurner added >non-issue :Distributed/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. v9.5.0 labels May 19, 2026
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

@elasticsearchmachine elasticsearchmachine added the Team:Distributed Meta label for distributed team. label May 19, 2026
@DaveCTurner
Copy link
Copy Markdown
Member Author

@nicktindall I know you had some kind of tooling for working with these log messages - asking you for input here mainly to check that this won't cause that tool any problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. >non-issue Team:Distributed Meta label for distributed team. v9.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants