RedisAtomicInteger remove existing key when a value for initialValue is provided [DATAREDIS-1080] #1652
In the documentation && javaDoc, Spring Data Redis says that a
public RedisAtomicInteger(String redisCounter,
So we use this constructor expecting to keep the key (because if exists) but our app is removing it on every start:
new RedisAtomicInteger("KEY", redisConnFactoty, 0)
it ALWAYS set to zero, it doesn't matter that "KEY" exists or not.
The source code of the constructor for
So, as my
I think this is a bug in code, or a mistake in documentation...
Am I right?
Affects: 2.2.3 (Moore SR3)
The text was updated successfully, but these errors were encountered: