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

一级缓存清除失败 #80

Open
tracine0513 opened this issue Dec 26, 2022 · 2 comments
Open

一级缓存清除失败 #80

tracine0513 opened this issue Dec 26, 2022 · 2 comments

Comments

@tracine0513
Copy link

@CacheEvict(value = {"pt:test", "pt:other"}, allEntries = true)

如上注解,二级缓存是可以清除成功,但是一级缓存没有清除。
经测试清除缓存后没有重新访问 DB

@tracine0513
Copy link
Author

加入缓存的注解
@Cacheable(value = "pt:test:select", depict = "XXXX" ..... )

@tracine0513
Copy link
Author

应该描述为 一级缓存没有命中,即
一级缓存 pt:test 没有命中到 pt:test:select

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant