-
Notifications
You must be signed in to change notification settings - Fork 524
Implement cache update deduplication per fetch cycle #5509
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
Merged
Merged
Changes from 4 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
208d1cf
Intial work on backoff algorithm.
edwbuck c6d23aa
Push after refactoring registration entry event tracking.
edwbuck b4d2de9
Final refactoring done. Need to fix unit tests.
edwbuck bf6ad3c
Reworked some of the unit tests to the refactored algorithm.
edwbuck f81942f
Saving work off so I can switch machines.
edwbuck 4118679
Fix compliation.
edwbuck 791b503
Unit test fixes and restoration of authorized_entryfetcher.go.
edwbuck aad7444
Add in boundary builder unit tests.
edwbuck 806ebf7
Add unit tests for updating the node cache from the database.
edwbuck 8ab4d68
Added loadCache testing for authorized entries registered entry.
edwbuck b5a068a
Add in updates to fakedatastore.
edwbuck a43e9ef
Add unit test for authorized entryfetcher registration entries.
edwbuck 2eb66d1
Add poll entries testing to authorized entryfetcher registration entr…
edwbuck 7c645c4
Add in new entry unit tests for auth entry fetcher registraiton entries.
edwbuck 9278f36
Update cache unit test for authorized entryfetcher registration entries.
edwbuck 673a480
Fix datastore wrapper_test.
edwbuck 9d0986b
Fix unit tests.
edwbuck 978fbab
Fix some linting issues.
edwbuck a0a2d49
Fix linting issues.
edwbuck 0a21834
Fix grammar in func calls / structs.
edwbuck 6036b1c
Merge branch 'main' into backoff
edwbuck 61feaa4
Fix spelling items in comments for code review.
edwbuck c5457cd
Better commentary around BoundaryBuilder.
edwbuck d4225bf
Fix update of poll count when an item is polled.
edwbuck 55f8254
Fix eventTracker for multiple boundaries.
edwbuck 9a9a942
Removed inner loop assignment as capture problem fixed in language.
edwbuck 9205427
Merge branch 'main' into backoff
edwbuck 24e772e
Merge branch 'main' into backoff
edwbuck ee1ba09
Fixed small typos and style choices for code review.
edwbuck 8fc09e3
Fixed export of metrics selector name sets in unit tests.
edwbuck ac075b8
Add in sync.Pool semantics to avoid memory trashing / overallocation.
edwbuck 59f2b7a
Remove backoff polling.
edwbuck de28e0d
Add in buffer resetting for eventTracker, remove TODO items.
edwbuck 28bd44d
Fixes for freeing the shared buffer between eventTracker and its users.
edwbuck 889cc29
Merge branch 'main' into backoff
edwbuck f0cbc4b
fix pool usage to satisfy linter
azdagron File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.