-
Notifications
You must be signed in to change notification settings - Fork 4
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
775 use tiered cache in place of caffeine cache #783
base: master
Are you sure you want to change the base?
775 use tiered cache in place of caffeine cache #783
Conversation
Signed-off-by: munishchouhan <[email protected]>
…e-in-place-of-caffeine-cache
Signed-off-by: munishchouhan <[email protected]>
Signed-off-by: munishchouhan <[email protected]>
Signed-off-by: munishchouhan <[email protected]>
Signed-off-by: munishchouhan <[email protected]>
Signed-off-by: munishchouhan <[email protected]>
Signed-off-by: munishchouhan <[email protected]>
Signed-off-by: munishchouhan <[email protected]>
Signed-off-by: munishchouhan <[email protected]>
Signed-off-by: munishchouhan <[email protected]>
Tested locally with Redis:
|
Signed-off-by: munishchouhan <[email protected]>
This reverts commit 33049bf.
Tested Dev:
|
Signed-off-by: munishchouhan <[email protected]>
Signed-off-by: munishchouhan <[email protected]>
Signed-off-by: munishchouhan <[email protected]>
@@ -293,4 +318,8 @@ abstract class AbstractTieredCache<V extends MoshiExchange> implements TieredCac | |||
l1.invalidateAll() | |||
} | |||
|
|||
void invalidate(K key) { | |||
l1.invalidate(key.stableHash()) | |||
} |
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.
This is a problem because it removes the value only from the caffeine cache but it remains in redis, and even worse in the in-memory cache in other nodes that may have loaded that value
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.
for now, i have removed registryauthcache till the time we done find solution to invalidate it from all app instances
Signed-off-by: Paolo Di Tommaso <[email protected]>
This reverts commit c7e8536.
Signed-off-by: munishchouhan <[email protected]>
Signed-off-by: munishchouhan <[email protected]>
Signed-off-by: munishchouhan <[email protected]>
Signed-off-by: munishchouhan <[email protected]>
Signed-off-by: munishchouhan <[email protected]>
Add the following:
RegistryAuthCache