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 two issues that resulted in incorrect updateTypes #70

Merged
merged 1 commit into from
Nov 7, 2017

Conversation

fasaxc
Copy link
Member

@fasaxc fasaxc commented Nov 6, 2017

Description

Fixes #68
Fixes #69

Todos

  • Unit tests (full coverage)
  • Integration tests (delete as appropriate) In plan/Not needed/Done
  • Documentation
  • Backport to 2.6.x
  • Release note

Release Note

Fix that Typha could send incorrect updateTypes to Felix during a snapshot leading some Felix statistics being incorrect.

@fasaxc fasaxc requested a review from nelljerram November 6, 2017 18:45
glide.lock Outdated
@@ -43,7 +43,7 @@ imports:
- name: github.com/emicklei/go-restful-swagger12
version: dcef7f55730566d41eae5db10e7d6981829720f6
- name: github.com/gavv/monotime
Copy link
Member

Choose a reason for hiding this comment

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

Aside: do we still need monotime here?

- Force snapshot updates to have updateType=new, this makes sense
  because they are new to Felix even if they're the result of updates
  for Typha.  Add machinery to the FVs to check.

- The new machinery found a flake, which I tracked down to
  Workiva/go-datastructures#180
  pin go-datastructures to pick up the fix:
  Workiva/go-datastructures#182.
@fasaxc fasaxc merged commit 742dc8a into projectcalico:master Nov 7, 2017
@fasaxc fasaxc deleted the fix-update-type branch November 7, 2017 16:00
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.

Typha can send incorrect updateType during snapshot Ctrie.ReadOnlySnapshots can change after creation
3 participants