Skip to content

Add exponential backoff for informer watch reconnects - #4895

Open
brendandburns wants to merge 1 commit into
kubernetes-client:masterfrom
brendandburns:fix-informer-watch-backoff
Open

Add exponential backoff for informer watch reconnects#4895
brendandburns wants to merge 1 commit into
kubernetes-client:masterfrom
brendandburns:fix-informer-watch-backoff

Conversation

@brendandburns

Copy link
Copy Markdown
Contributor

Splits informer watch reconnect backoff changes out of #4892.

Summary

  • add exponential backoff for transient watch connection failures
  • reset backoff at the appropriate run/watch boundaries
  • stop retrying promptly when interrupted
  • tighten and stabilize backoff tests
  • add end-to-end coverage for recovery from initial connection failures

Validation

  • ./mvnw -q -pl util,e2e -am compile test-compile -DskipTests

@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brendandburns

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubernetes-prow
kubernetes-prow Bot requested a review from yue9944882 September 1, 2026 19:10
@kubernetes-prow kubernetes-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 1, 2026
@linux-foundation-easycla

linux-foundation-easycla Bot commented Sep 1, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: brendandburns / name: Brendan Burns (9077a06)

@kubernetes-prow kubernetes-prow Bot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Sep 1, 2026
Retry transient informer watch connection failures with bounded exponential backoff, interruption handling, and coverage.
@brendandburns
brendandburns force-pushed the fix-informer-watch-backoff branch from d01101e to 9077a06 Compare September 1, 2026 19:20
@kubernetes-prow kubernetes-prow Bot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant