[ 
https://issues.apache.org/jira/browse/CAMEL-27982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-27982.
---------------------------------
    Resolution: Fixed

Fixed by https://github.com/apache/camel/pull/31222 (merged to main for 4.25.0).

_Claude Code on behalf of davsclaus_

> camel-spring-redis - SpringRedisIdempotentRepository.clear() deletes the 
> whole Redis database
> ---------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-27982
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27982
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-spring-redis
>            Reporter: Claus Ibsen
>            Assignee: Adriano Machado
>            Priority: Major
>             Fix For: 4.25.0
>
>
> h4. 1. SpringRedisIdempotentRepository.clear()
> clear() runs FLUSHDB, which deletes every key of the Redis database, not only 
> the set of this repository (repositoryName). Other data in the same database 
> is lost.
> Proposed change: redisTemplate.delete(repositoryName).
> Found while checking the option and console descriptions of CAMEL-27980.
> ----
> _Filed by Claude Code on behalf of davsclaus_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to