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

Add taskId to loadbalancer upstream #2208

Merged
merged 1 commit into from
Jun 14, 2021
Merged

Conversation

Jw0x47
Copy link
Contributor

@Jw0x47 Jw0x47 commented Jun 2, 2021

Allows partitioning loadbalancer upstreams per deploy.

@pschoenfelder

Allows partitioning loadbalancer upstreams per deploy
public Optional<String> getTaskId() {
return taskId;
}

@Override
public boolean equals(Object o) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I didn't update HashCode / Equals since the absence / presence of this new data doesn't really impact the upstream itself; its just a reference we can use to group things by singularity deploy at the load balancing layer later on.

Since this data is likely persisted in this form without the value present adding HC / Equals would result in a change to those comparisons and likely break stuff.

@pschoenfelder
Copy link
Contributor

🚢

@Jw0x47 Jw0x47 merged commit 1087a2e into master Jun 14, 2021
@Jw0x47 Jw0x47 deleted the loadbalancer_upstream_task_id branch June 14, 2021 19:53
@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.

None yet

3 participants