alibaba / alibaba/jetcache

一二級緩存更新失效

Open
#796 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.6k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

請求一下,@CacheUpdate( name = CacheKey.TASK_LIST,key = "#dailyTask.id",value = "#dailyTask") 我添加這個cahceupdate的註解,
當進行更新操作時,一二級緩存中的數據沒有更新,這是為何?(直接是controller調用這個帶註解方法的service的,aop切面肯定是觸發了)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported @CacheUpdate case on the service method called by the controller, using CacheKey.TASK_LIST and the dailyTask id. Trace the update through the AOP path and both cache levels; done means the updated value is visible consistently in the first- and second-level caches.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.