提交 46cbb2e1 编写于 作者: N Nikita Koksharov

Fixed - internal RedissonBaseLock.evalWriteAsync() method isn't executed again...

Fixed - internal RedissonBaseLock.evalWriteAsync() method isn't executed again if cluster slaves amount > 0 #3419
上级 cbbc6442
......@@ -117,11 +117,6 @@ public class RedisCommonBatchExecutor extends RedisExecutor<Object, Void> {
writeFuture = connection.send(new CommandsData(attemptPromise, list, options.isSkipResult(), isAtomic, isQueued, options.getSyncSlaves() > 0));
}
@Override
protected boolean isResendAllowed(int attempt, int attempts) {
return options.getSyncSlaves() == 0 && super.isResendAllowed(attempt, attempts);
}
protected boolean isWaitCommand(CommandData<?, ?> c) {
return c.getCommand().getName().equals(RedisCommands.WAIT.getName());
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册