Skip to content

xds: priorityLB reset failover timer when connecting if seen ready or idle …#9093

Merged
YifeiZhuang merged 1 commit into
grpc:masterfrom
YifeiZhuang:priority-ringhash
Apr 20, 2022
Merged

xds: priorityLB reset failover timer when connecting if seen ready or idle …#9093
YifeiZhuang merged 1 commit into
grpc:masterfrom
YifeiZhuang:priority-ringhash

Conversation

@YifeiZhuang

@YifeiZhuang YifeiZhuang commented Apr 19, 2022

Copy link
Copy Markdown
Member

…since TF
changes in priority:

  • Keep track of whether a child has seen TRANSIENT_FAILURE more recently than IDLE or READY, and use this to decide whether to restart the failover timer when a child reports CONNECTING. This ensures that we properly start the failover timer when the ring_hash child policy transitions from IDLE to CONNECTING at startup.
  • Behaviour change also affects address updates the current priority from CONNECTING to CONNECTING, previously it reports one CONNECTING, right now it does not report and wait there due to failover timer in effect. This helps to try the next priority.

gRFC

@YifeiZhuang YifeiZhuang requested a review from ejona86 April 19, 2022 18:20
@YifeiZhuang YifeiZhuang merged commit 3a303af into grpc:master Apr 20, 2022
@YifeiZhuang YifeiZhuang deleted the priority-ringhash branch April 20, 2022 17:40
YifeiZhuang added a commit to YifeiZhuang/grpc-java that referenced this pull request Apr 20, 2022
…dle since TF (grpc#9093)

changes in priority:
Keep track of whether a child has seen TRANSIENT_FAILURE more recently than IDLE or READY, and use this to decide whether to restart the failover timer when a child reports CONNECTING. This ensures that we properly start the failover timer when the ring_hash child policy transitions from IDLE to CONNECTING at startup.
Behaviour change also affects address updates the current priority from CONNECTING to CONNECTING, previously it reports one CONNECTING, right now it does not report and wait there due to failover timer in effect. This helps to try the next priority.
YifeiZhuang added a commit that referenced this pull request Apr 20, 2022
…dle since TF (#9093) (#9098)

changes in priority:
Keep track of whether a child has seen TRANSIENT_FAILURE more recently than IDLE or READY, and use this to decide whether to restart the failover timer when a child reports CONNECTING. This ensures that we properly start the failover timer when the ring_hash child policy transitions from IDLE to CONNECTING at startup.
Behaviour change also affects address updates the current priority from CONNECTING to CONNECTING, previously it reports one CONNECTING, right now it does not report and wait there due to failover timer in effect. This helps to try the next priority.
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants