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

Consider Supporting Cache with CRaC #12

Open
sdelamo opened this issue Aug 16, 2022 · 0 comments
Open

Consider Supporting Cache with CRaC #12

sdelamo opened this issue Aug 16, 2022 · 0 comments

Comments

@sdelamo
Copy link
Contributor

sdelamo commented Aug 16, 2022

Issue description

I am not sure if it makes sense do this before checkpoint (maybe only if you are using an in-memory cache):

cacheManager.getCacheNames()
    .stream()
    .map(cacheName -> cacheManager.getCache(cacheName))
    .forEach(SyncCache::invalidateAll);
}

https://micronaut-projects.github.io/micronaut-cache/latest/api/io/micronaut/cache/CacheManager.html
https://micronaut-projects.github.io/micronaut-cache/latest/api/io/micronaut/cache/SyncCache.html

We should allow users to opt out of this resource if they don't want to invalidate the cache.

@sdelamo sdelamo removed this from 3.9.0 Release Apr 5, 2023
@timyates timyates removed their assignment May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants