Skip to content

Commit

Permalink
fix: panic on cluster redirection to a node with stale role
Browse files Browse the repository at this point in the history
Signed-off-by: Rueian <[email protected]>
  • Loading branch information
rueian committed Dec 12, 2024
1 parent d29cbfd commit 1af2bec
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/cmds/cmds.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const (
scrRoTag = uint16(1<<10) | readonly // make scrRoTag can also be retried
unsubTag = uint16(1<<9) | noRetTag
// InitSlot indicates that the command be sent to any redis node in cluster
// When SendToReplicas is set, InitSlot command will be sent to primary node
InitSlot = uint16(1 << 14)
// NoSlot indicates that the command has no key slot specified
NoSlot = uint16(1 << 15)
Expand Down

0 comments on commit 1af2bec

Please sign in to comment.