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

Move deploymentStrategy out of schedulingInfo #124

Merged
merged 1 commit into from
Oct 19, 2021

Conversation

Andyz26
Copy link
Collaborator

@Andyz26 Andyz26 commented Oct 15, 2021

Context

SchedulingInfo class is used across the control plane (master) and runtime where the newly added DeploymentStrategy class is only used in the control plane. Worker instances on older versions now will run into an error when deserializing the SchedulingInfo class due to the new field (bean config is enforcing on the unknown field).
Thus the proposal here is to move the DeploymentStrategy class out of the SchedulingInfo class and make it part of JobDefinition and MantisJobDefinition directly.

Screen Shot 2021-10-15 at 4 33 15 PM

Checklist

  • ./gradlew build compiles code correctly
  • Added new tests where applicable
  • ./gradlew test passes all tests
  • Extended README or added javadocs where applicable
  • Added copyright headers for new files from CONTRIBUTING.md

@Andyz26 Andyz26 merged commit fc65856 into Netflix:master Oct 19, 2021
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.

2 participants