Add option to actually skip WAIT command for locks (checkLockSyncedSlaves only suppresses the exception, not the WAIT call)
Is your feature request related to a problem? Please describe.
Setting checkLockSyncedSlaves(false) does not skip the WAIT command / replica sync check itself — Redisson still sends WAIT and waits for the replicas to acknowledge as part of evalWriteAsync. The flag only controls whether an exception ("Only X of Y slaves were synced") is thrown afterward based on the result. This means the latency cost of WAIT is still incurred even when this option is disabled.
In our case, the database layer already has its own mechanism to detect and reject conflicting writes, so we don't need Redisson's replica-sync guarantee for locks, and the extra WAIT round-trip only adds unnecessary latency.
Describe the solution you'd like Add a configuration option that actually skips sending the WAIT command / replica-sync check entirely (not just suppressing the resulting exception), so users who don't need this guarantee can avoid the added latency altogether.
Describe alternatives you've considered
checkLockSyncedSlaves(false)— does not help, since the WAIT call and wait time still happen; it only avoids throwing on the result.
Source: redisson/redisson