-
Notifications
You must be signed in to change notification settings - Fork 70
unify caching across workers to maximize cache hits #977
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 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
d6dffb6
unify caching across workers to maximize cache hits
ankitk-me d778b9e
addressing review comments
ankitk-me 6844810
addressing review comments
ankitk-me 04ee960
including event log for FutureCompletedExceptionally & StaleSchemaServed
ankitk-me da28dd7
update to handle unifying cache getting access by other catalog instance
ankitk-me 4602867
checkstyle fix
ankitk-me e6d7cf5
using computeIfAbsent
ankitk-me d92bc16
addressing review comments
ankitk-me 0027f5f
adding support for progressive back off
ankitk-me 3485813
addressing review comments
ankitk-me dc244a6
stale schema logging fix
ankitk-me 0ce3f55
addressing review comments
ankitk-me 62c8220
updating IT to use zilla.yaml instead of mock & handler
ankitk-me 4fba34f
Merge remote-tracking branch 'origin' into unify_caching
ankitk-me 0fd0060
addressing review comments
ankitk-me 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
updating IT to use zilla.yaml instead of mock & handler
- Loading branch information
commit 62c82207545b23401e5563ef17f22f68d8f31672
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,5 +38,5 @@ bindings: | |
| options: | ||
| catalog: | ||
| catalog0: | ||
| - id: 1 | ||
| - subject: not-subject1 | ||
| exit: app0 | ||
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
70 changes: 0 additions & 70 deletions
70
...g-karapace/src/test/java/io/aklivity/zilla/runtime/catalog/karapace/internal/EventIT.java
This file was deleted.
Oops, something went wrong.
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer this IT done via scripts not mocks.
Note: if using mocks then it is a unit test, not an integration test - unit tests with mocks are not stable after a refactor of the code as they also need to be changed, whereas integration tests remain stable, providing better confidence after changing implementation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be no need to drive any direct calls to
KarapaceCatalogHandlervia code and mocks.Instead, this should be driven by
testbinding inzilla.yamlfor the test. It may be necessary to add support for expectedschemaintestbinding options so that it can verify the retrieved schema matches expectations.Note: this would be for
testbinding only, as other bindings have no need to validate expectations.