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

xds/priority: start the init timer when a child switch to Connecting from non-transient-failure state #5334

Merged
merged 3 commits into from May 10, 2022

Conversation

menghanl
Copy link
Contributor

@menghanl menghanl commented May 2, 2022

See grpc/proposal#296 for context.

After this change, priority will restart the failover timer when a child
reports Connecting, if that child hasn't reported TF more recently than
it reported Ready or Idle.

Also changed the priority policy to always call the centralized function
syncPriority to handle child switching.

RELEASE NOTES:

  • xds/priority: start the init timer when a child switch to Connecting from non-failure states

… child switch to Connecting from non-transient-failure state

See grpc/proposal#296 for context.

After this change, priority will restart the failover timer when a child
reports Connecting, if that child hasn't reported TF more recently than
it reported Ready or Idle.

Also changed the priority policy to always call the centralized function
`syncPriority` to handle child switching.
@menghanl menghanl requested a review from dfawley May 2, 2022 20:37
@menghanl menghanl added the Type: Behavior Change Behavior changes not categorized as bugs label May 2, 2022
@menghanl menghanl added this to the 1.47 Release milestone May 2, 2022
@@ -55,6 +56,9 @@ var (
// - For any of the following cases:
// - If balancer is not started (not built), this is either a new child
Copy link
Member

Choose a reason for hiding this comment

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

Fix indent here? (Remove tab?) Or is this just a github problem??

Copy link
Contributor Author

@menghanl menghanl May 6, 2022

Choose a reason for hiding this comment

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

Done. Seems there were tabs??? Who uses tabs???

@dfawley dfawley assigned menghanl and unassigned dfawley May 6, 2022
@menghanl menghanl merged commit db79903 into grpc:master May 10, 2022
@menghanl menghanl deleted the priority_connectivity_fix branch May 10, 2022 23:56
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Behavior Change Behavior changes not categorized as bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants