Skip to content
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

[CELEBORN-1608] Reduce redundant response for RESTful api #2755

Closed
wants to merge 1 commit into from

Conversation

turboFei
Copy link
Member

@turboFei turboFei commented Sep 21, 2024

What changes were proposed in this pull request?

Currently, for exclude worker api, it will append all the workers info into the response message.
Assume that, we have thousands of workers, the response info is too large and redundant, as we already provide get workers api to return it.

Why are the changes needed?

As title.

Does this PR introduce any user-facing change?

Yes, reduce the response. It should be fine, we already provide the api to get workers details.

How was this patch tested?

Existing UT.

@turboFei turboFei changed the title reduce resp size [CELEBORN-1608] Reduce redundant response for RESTful api Sep 21, 2024
Copy link
Contributor

@RexXiong RexXiong left a comment

Choose a reason for hiding this comment

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

LGTM

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 481a821 Sep 23, 2024
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.

4 participants