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

subnets: move forward the cursor to skip illegal subnet #1368

Merged
merged 1 commit into from
Nov 16, 2020

Conversation

Sen666666
Copy link
Contributor

This PR fixs an issue when flannel gets illegal subnet event in
watching leases, it doesn't move forward the etcd cursor and
will stuck in the same invalid event forever.

Description

As the commit message mentions, in local_manager mode when the "WatchLeases" goroutine gets an invalid subnet event (in detail function parseSubnetWatchResponse returns error), it doesn't move the cursor forward to skip this invalid subnet as the error string says.

This PR try to fix the issue.

Todos

  • Tests
  • Documentation
  • Release note

Release Note

subnets: move forward the cursor to skip illegal subnet

This PR fixs an issue when flannel gets illegal subnet event in
watching leases, it doesn't move forward the etcd cursor and
will stuck in the same invalid event forever.
@luthermonson
Copy link
Contributor

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants