Skip to content

Commit

Permalink
Chnage SCRIPT KILL, FUNCTION KILL, FUNCTION STATS routing
Browse files Browse the repository at this point in the history
  • Loading branch information
shohamazon committed Aug 7, 2024
1 parent de53b2b commit 1884c3a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions redis/src/cluster_routing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -418,17 +418,18 @@ fn base_routing(cmd: &[u8]) -> RouteBy {
| b"PUBSUB CHANNELS"
| b"PUBSUB NUMSUB"
| b"PUBSUB SHARDCHANNELS"
| b"PUBSUB SHARDNUMSUB" => RouteBy::AllNodes,
| b"PUBSUB SHARDNUMSUB"
| b"SCRIPT KILL"
| b"FUNCTION KILL"
| b"FUNCTION STATS" => RouteBy::AllNodes,

b"DBSIZE"
| b"FLUSHALL"
| b"FLUSHDB"
| b"FUNCTION DELETE"
| b"FUNCTION FLUSH"
| b"FUNCTION KILL"
| b"FUNCTION LOAD"
| b"FUNCTION RESTORE"
| b"FUNCTION STATS"
| b"INFO"
| b"KEYS"
| b"MEMORY DOCTOR"
Expand All @@ -437,7 +438,6 @@ fn base_routing(cmd: &[u8]) -> RouteBy {
| b"MEMORY STATS"
| b"PING"
| b"SCRIPT EXISTS"
| b"SCRIPT KILL"
| b"UNWATCH"
| b"WAIT"
| b"RANDOMKEY"
Expand Down

0 comments on commit 1884c3a

Please sign in to comment.