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-1589] Ensure master is leader for some POST request APIs #2730

Closed
wants to merge 7 commits into from

Conversation

akpatnam25
Copy link
Contributor

What changes were proposed in this pull request?

Ensure that excludeWorker, removeWorkersUnavailableInfo, and sendWorkerEvents can only happen from Master leader node.

Why are the changes needed?

prevent inconsistencies from peers

Does this PR introduce any user-facing change?

No

How was this patch tested?

tested against a cluster

@akpatnam25
Copy link
Contributor Author

cc @turboFei @FMX @SteNicholas

@akpatnam25 akpatnam25 marked this pull request as ready for review September 10, 2024 07:13
@akpatnam25
Copy link
Contributor Author

cc @waitinfuture

Copy link
Member

@turboFei turboFei 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

Copy link
Member

@SteNicholas SteNicholas 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

@mridulm mridulm left a comment

Choose a reason for hiding this comment

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

Just one minor comment - rest looks good to me.

@SteNicholas
Copy link
Member

Merged to main(v0.6.0).

s0nskar pushed a commit to s0nskar/celeborn that referenced this pull request Sep 16, 2024
### What changes were proposed in this pull request?
Ensure that `excludeWorker`, `removeWorkersUnavailableInfo`, and `sendWorkerEvents` can only happen from Master leader node.

### Why are the changes needed?
prevent inconsistencies from peers

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
tested against a cluster

Closes apache#2730 from akpatnam25/CELEBORN-1589.

Authored-by: Aravind Patnam <[email protected]>
Signed-off-by: SteNicholas <[email protected]>
wankunde pushed a commit to wankunde/celeborn that referenced this pull request Oct 11, 2024
### What changes were proposed in this pull request?
Ensure that `excludeWorker`, `removeWorkersUnavailableInfo`, and `sendWorkerEvents` can only happen from Master leader node.

### Why are the changes needed?
prevent inconsistencies from peers

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
tested against a cluster

Closes apache#2730 from akpatnam25/CELEBORN-1589.

Authored-by: Aravind Patnam <[email protected]>
Signed-off-by: SteNicholas <[email protected]>
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