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

fix(upstreams) mark the update timer as scheduled #8858

Merged
merged 1 commit into from
May 25, 2022

Conversation

locao
Copy link
Contributor

@locao locao commented May 25, 2022

Summary

When the balancer state timer is running, it updates the flag that avoids it to be started again on every run. This PR adds the same behavior to scheduling the update timer, instead of waiting for the first run. This change avoids that an upstream that is updated more than once before the eventual consistency timer run for the first time, schedule it again.

This PR completes the fix introduced in #8694.

Full changelog

  • Set running flag to true.
  • No tests were added, they were already failing.

when the balancer state timer is running, it updates the flag that
avoids it to be started again. this commit adds this same behavior
to scheduling the update timer, instead of waiting for the first run
@locao locao requested a review from a team as a code owner May 25, 2022 20:35
@locao locao requested a review from aboudreault May 25, 2022 20:35
@locao locao merged commit c5597cb into master May 25, 2022
@locao locao deleted the fix/timer_usage_on_balancer_update branch May 25, 2022 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants