Skip to content

Commit

Permalink
Mention ASK and TRYAGAIN for replicas in READONLY command manual (#142)
Browse files Browse the repository at this point in the history
Documentation for valkey-io/valkey#495

---------

Signed-off-by: Viktor Söderqvist <[email protected]>
  • Loading branch information
zuiderkwast authored Jun 2, 2024
1 parent f4ce160 commit a5406a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions commands/readonly.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ master node. This may happen because:

1. The client sent a command about hash slots never served by the master of this replica.
2. The cluster was reconfigured (for example resharded) and the replica is no longer able to serve commands for a given hash slot.
3. Since Valkey 8.0, if a slot migration is ongoing.
In this case the replica can return an ASK redirect or a TRYAGAIN error reply.
In earlier versions, replicas are not aware of ongoing slot migrations.

0 comments on commit a5406a0

Please sign in to comment.