-
Notifications
You must be signed in to change notification settings - Fork 205
Open
Description
` RLocalCachedMap<String, Integer> cachedMap = redisson.getLocalCachedMap("myMap", options);
cachedMap.put("a", 1);
cachedMap.put("b", 2);
cachedMap.put("c", 3);
boolean contains = cachedMap.containsKey("a");
Integer value = cachedMap.get("c");
Integer updatedValue = cachedMap.addAndGet("a", 32);
`
But while executing the last line, an error occurred:ERR hash value is not a valid float . channel: [id: 0xcf1b13e4, L:/127.0.0.1:55203 - R:127.0.0.1/127.0.0.1:6379] command: (EVAL), promise: java.util.concurrent.CompletableFuture@121574fb[Not completed, 1 dependents], params: [local result = redis.call('HINCRBYFLOAT', KEYS[1], ARGV[1], ARGV[2]); if ARGV[3] == '1' then redis.call('publish', KEYS[2], ARGV[4]); end;if ARGV[3] == '2' then redis.call('zadd', KEYS[3], ARGV[5], ARGV[6]);redis.call('publish', KEYS[2], ARGV[4]); end;return result; , 3, myMap, {myMap}:topic, redisson__cache_updates_log:{myMap}, PooledUnsafeDirectByteBuf(ridx: 0, widx: 3, cap: 256), 32.0, 1, PooledUnsafeDirectByteBuf(ridx: 0, widx: 37, cap: 256), 1711590785540, ...]
how to resolve?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels