alibaba / alibaba/jetcache

Cached注解能否增加缓存失败处理策略

Open
#899 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

## Cached注解缓存失败后,没有把异常抛给下游

项目中使用Cached注解进行方法缓存, 缓存失败后没有把异常抛出来

测试过程中没有影响业务流程,缓存失败的代码可能会带到生产环境

## 期望

让使用者去选择,缓存失败的处理策略,而不是变成框架的默认行为

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by locating the Cached annotation and its cache-failure handling path, then review existing tests for failed cache operations. Done means users can select the failure strategy and the behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.