Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i have a problem about RLocalCachedMap #25

Open
JUNFN70783660042 opened this issue Mar 28, 2024 · 0 comments
Open

i have a problem about RLocalCachedMap #25

JUNFN70783660042 opened this issue Mar 28, 2024 · 0 comments

Comments

@JUNFN70783660042
Copy link

` 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?
@JUNFN70783660042 JUNFN70783660042 changed the title i have a problem about i have a problem about RLocalCachedMap Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant