Skip to content

Conversation

@WH77
Copy link
Contributor

@WH77 WH77 commented Aug 26, 2021

This PR exists to speed up response/recovery time in the event of a rack outage, via new API endpoints that will set global configuration overrides of request placement strategy and/or rack sensitivity on the current leader.

lock.runWithRequestLock(
() -> {
SingularityRequest request = requestWithState.getRequest();
// TODO - support global override here?
Copy link
Member

Choose a reason for hiding this comment

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

we can probably ignore for this spread all case, it should just continue to try and scale to whatever remains

Copy link
Member

@ssalinas ssalinas left a comment

Choose a reason for hiding this comment

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

Two overall comments:

  • not sure if this belongs in the RackResource or not? I'm wondering if we need a new/separate AdminConfigurationResource or something like that? There is also the DisastersResource that has a hodge-podge of emergency action endpoints
  • should the endpoint just allow us to globally set the PlacementStrategy, vs defaulting everything to OPTIMISTIC based on a boolean? Wondering if we'd ever need GREEDY vs OPTIMISTIC

@WH77 WH77 force-pushed the live-configuration branch from 97a3d21 to 69e8eac Compare September 14, 2021 15:29
@pschoenfelder
Copy link
Contributor

🚢

@WH77 WH77 merged commit d9443e8 into master Sep 17, 2021
@WH77 WH77 deleted the live-configuration branch September 17, 2021 18:19
@ssalinas ssalinas added this to the 1.5.0 milestone May 4, 2022
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