Skip to content

Conversation

@SteNicholas
Copy link
Member

@SteNicholas SteNicholas commented Nov 6, 2024

What changes were proposed in this pull request?

Improve ThreadStackTrace with synchronizers, monitors, lockName, lockOwnerName, suspended, inNative for thread dump.

Why are the changes needed?

ThreadStackTrace does not support stack trace including synchronizers, monitors, lockName, lockOwnerName, suspended, inNative at present. It's recommend to improve ThreadStackTrace of thread dump for more details of thread stack trace.

Does this PR introduce any user-facing change?

The response of ThreadStack in /api/v1/thread_dump adds synchronizers, monitors, lockName, lockOwnerName, suspended, inNative fields.

Cherry pick:

How was this patch tested?

ApiV1BaseResourceSuite#thread_dump

Copy link
Contributor

@FMX FMX left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks. Merged into main(v0.6.0).

@FMX FMX closed this in 54bbd72 Nov 7, 2024
SteNicholas pushed a commit that referenced this pull request Nov 8, 2024
### What changes were proposed in this pull request?
Check the consistency between openapi spec and generated openapi-client code in GA.
Fix the ThreadStack model.

### Why are the changes needed?
Address comments: #2892 (comment)

Followup for #2888
### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?

GA.

It works:
https://github.com/apache/celeborn/actions/runs/11733693060/job/32688436233?pr=2893

<img width="1059" alt="image" src="https://github.com/user-attachments/assets/84682976-1b7d-42e0-9b62-2966f3e952d7">

After ThreadStack fixed:
<img width="1368" alt="image" src="https://github.com/user-attachments/assets/14a2a08f-dbc2-409c-a4ed-fbfee82e50b5">

Closes #2893 from turboFei/diff_openapi.

Authored-by: Wang, Fei <fwang12@ebay.com>
Signed-off-by: SteNicholas <programgeek@163.com>
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.

3 participants