Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Don't allow multiple bounces for the same request #1457
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.