Commit 54da834
authored
Fix double MOVED reply on unblock at failover (valkey-io#2734)
valkey-io#2329 intoduced a bug that causes a blocked client in cluster mode to
receive two MOVED redirects instead of one. This was not seen in tests,
except in the reply schema validator.
The fix makes sure the client's pending command is cleared after sending
the MOVED redirect, to prevent if from being reprocessed.
Fixes valkey-io#2676.
---------
Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>1 parent ccf6fca commit 54da834
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
| 343 | + | |
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| |||
0 commit comments