diff --git a/redis/src/cluster_routing.rs b/redis/src/cluster_routing.rs index 27abd54fe..848d4d750 100644 --- a/redis/src/cluster_routing.rs +++ b/redis/src/cluster_routing.rs @@ -526,6 +526,7 @@ fn base_routing(cmd: &[u8]) -> RouteBy { | b"READONLY" | b"READWRITE" | b"SAVE" + | b"SCRIPT SHOW" | b"TFCALL" | b"TFCALLASYNC" | b"TFUNCTION DELETE" @@ -732,6 +733,7 @@ pub fn is_readonly_cmd(cmd: &[u8]) -> bool { | b"SCRIPT FLUSH" | b"SCRIPT KILL" | b"SCRIPT LOAD" + | b"SCRIPT SHOW" | b"SDIFF" | b"SINTER" | b"SINTERCARD"