When i use the RedisCacheWriter.lockingRedisCacheWriter(userCacheRedisConnectionFactory, BatchStrategies.scan(1000)),database connection pool is leaked. HikariCP pool

Comment From: dayuange123

My springboot version is 2.7.17 and spring context version is 5.3.30

Comment From: snicoll

RedisCacheWriter is part of Spring Data Redis. Before creating an issue there, please make sure to gather a small sample that the team can use to reproduce the problem.