Fixed - RMap.computeAsync() method causes deadlock if MapLoader is defined

pull/4843/head
Nikita Koksharov
parent d2c0b3e513
commit bdbd0c0a75

@ -267,7 +267,7 @@ public class RedissonLocalCachedMap<K, V> extends RedissonMap<K, V> implements R
return new CompletableFutureWrapper<>(f);
}
RFuture<V> future = super.getAsync((K) key);
RFuture<V> future = super.getAsync((K) key, threadId);
CompletionStage<V> result = future.thenApply(value -> {
if (storeCacheMiss || value != null) {
cachePut(cacheKey, key, value);

Loading…
Cancel
Save