Files
spring-framework/spring-context
Hyunwoo Jung 440139fec1 Fix Flux resubscription in reactive caching
Fix an existing bug in processPutRequest() affecting `@Cacheable`
and `@CachePut` since 6.1: resubscription after an error hangs while
publish().refCount(2) waits for a second subscriber.

Also fix an unreleased regression introduced by 26de340 (gh-37309) for
`@CacheEvict`, which copied the same pattern into processCacheEvicts().

Create the shared Flux and cache subscriber for each subscription
via Flux.defer(). Add regression tests combining reactive caching
with `@Retryable`.

See gh-37309
Closes gh-37403

Signed-off-by: Hyunwoo Jung <hyunwoojung@kakao.com>
2026-10-06 16:02:00 +02:00
..