Skip to content

Don't allow multiple bounces for the same request#1457

Merged
ssalinas merged 1 commit intomasterfrom
bounce_conflict
Mar 17, 2017
Merged

Don't allow multiple bounces for the same request#1457
ssalinas merged 1 commit intomasterfrom
bounce_conflict

Conversation

@ssalinas
Copy link
Member

Normally we have validation that catches attempting to enqueue a bounce when 1 is already running. Not sure if something got removed over time here, but it no longer does that. Incremental bounce partially relies on the number of tasks in an INCREMENTAL_BOUNCE cleanup state. So, if a second bounce is enqueued, more tasks than expected are in this state, and things can be wrongly removed form the loadBalancer.

This adds a marker for when a request is bouncing so that multiple cannot be enqueued at once.

@ssalinas ssalinas merged commit 1ffc094 into master Mar 17, 2017
@ssalinas ssalinas deleted the bounce_conflict branch March 17, 2017 18:29
@ssalinas ssalinas modified the milestone: 0.14.1 Mar 17, 2017
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.

1 participant