Skip to content

[CELEBORN-2014] updateInterruptionNotice REST API #3285

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

akpatnam25
Copy link
Contributor

What changes were proposed in this pull request?

This PR is part of CIP17: Interruption Aware Slot Selection.
It introduces a REST api for external services to notify master about interruptions/schedules.

Why are the changes needed?

To nofify master of upcoming interruption notices in the worker fleet. Master can then use these to proactively deprioritize workers that might be in scope for interruption sooner.

Does this PR introduce any user-facing change?

new rest api

How was this patch tested?

added unit tests.

@akpatnam25 akpatnam25 marked this pull request as ready for review May 26, 2025 08:03
@akpatnam25
Copy link
Contributor Author

cc @mridulm @FMX @SteNicholas PTAL, thanks.

@SteNicholas SteNicholas force-pushed the main branch 2 times, most recently from 5590ef0 to 0dffcf6 Compare May 26, 2025 09:57
@FMX
Copy link
Contributor

FMX commented May 28, 2025

I'll review this PR today.

@akpatnam25
Copy link
Contributor Author

thanks @FMX. The test failure also looks unrelated.

@SteNicholas
Copy link
Member

@akpatnam25, could you also add the CLI command for the introduced REST API in this pull request?

@akpatnam25
Copy link
Contributor Author

addressed comments and added cli command @FMX @SteNicholas . PTAL, thanks.

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

Successfully merging this pull request may close these issues.

3 participants