Skip to content

Refuse to add cleaning tasks to LB - #1554

Merged
ssalinas merged 3 commits into
masterfrom
lb-cleanup-order
Jun 8, 2017
Merged

ssalinas merged 3 commits into
masterfrom
lb-cleanup-order

Conversation

@PtrTeixeira

Copy link
Copy Markdown
Contributor

Refuse to add tasks which are in the cleaning state the the load
balancer. This is a slightly ham-handed way to prevent inconsistencies,
like where a task us removed from the load balancer due to the cleaning
process before ever being added to the load balancer.

Refuse to add tasks which are in the cleaning state the the load
balancer.  This is a slightly ham-handed way to prevent inconsistencies,
like where a task us removed from the load balancer due to the cleaning
process before ever being added to the load balancer.
@PtrTeixeira

Copy link
Copy Markdown
Contributor Author

/cc @ssalinas

Prior to adding a load-balanced task to the load balancer, check that
- there is no existing LB state
- If there is an existing LB state:
  - It is still unknown to Baragon
  - We aren't already tring to remove it from Baragon

@ssalinas ssalinas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good with the additional check for unknown + != REMOVE, let's give this a go in staging

@ssalinas ssalinas modified the milestone: 0.16.0 Jun 2, 2017
@ssalinas
ssalinas merged commit d1a84a2 into master Jun 8, 2017
@ssalinas
ssalinas deleted the lb-cleanup-order branch June 8, 2017 16:46
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