Nikita Koksharov
Nikita Koksharov
Do you have an instance of RDelayedQueue all the time? Elements transfer stops to work if RDelayedQueue instance removed.
Is it possible to reproduce this case?
`false` means that queue is doesn't exist or already deleted
Did you try to specify waitTime explicitly during tryLock or lock method invocation? try to set it 1 second, for example.
stale threads are removed only at next lock aquisition attempt or if lock was released.
In any case deleting queue breaks fairness of locking. In this case you could use a usual lock
Could you share the code example to reproduce the issue?
> that cached map does not work anymore Can you clarify here?
sorry, without details I'm unable to help. Redisson handles failover and you don't need to call redissonClient.getMap() after that.
Which Redisson version?