Redisson RReadWriteLock – None of slaves were synced under load. If I disable checkLockSyncedSlaves, what are the real trade‑offs? #6949
Unanswered
michaltomekantek
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We use Redisson (3.40.0) RReadWriteLock on a Redis Cluster. As traffic grows, we sometimes see:
None of slaves were synced. Try to increase slavesSyncTimeout setting or set checkLockSyncedSlaves = false.My understanding is that Redisson waits for a certain number of replicas to acknowledge the write (similar to Redis WAIT) before it considers the lock acquired.
Questions:
Any best practices for tuning slavesSyncTimeout / required replica count vs. latency would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions