Просмотр исходного кода

Merge pull request #12158 from emqx/update-redis-cluster-vsn

chore: update eredis_cluster to 0.8.3
Xinyu Liu 2 лет назад
Родитель
Сommit
05f993a067
2 измененных файлов с 5 добавлено и 1 удалено
  1. 1 1
      apps/emqx_redis/rebar.config
  2. 4 0
      changes/ce/fix-12158.en.md

+ 1 - 1
apps/emqx_redis/rebar.config

@@ -3,7 +3,7 @@
 {erl_opts, [debug_info]}.
 {deps, [
         %% NOTE: mind ecpool version when updating eredis_cluster version
-        {eredis_cluster, {git, "https://github.com/emqx/eredis_cluster", {tag, "0.8.2"}}},
+        {eredis_cluster, {git, "https://github.com/emqx/eredis_cluster", {tag, "0.8.3"}}},
         {emqx_connector, {path, "../../apps/emqx_connector"}},
         {emqx_resource, {path, "../../apps/emqx_resource"}}
 ]}.

+ 4 - 0
changes/ce/fix-12158.en.md

@@ -0,0 +1,4 @@
+Fix the issue that the rule engine cannot connect to `upstash` Redis.
+
+Before the fix, after establishing a TCP connection with the Redis service, the Redis driver of EMQX used [Inline Commands](https://redis.io/docs/reference/protocol-spec/#inline-commands) to send AUTH and SELECT commands. However, the `upstash` Redis service does not support Inline Commands, which causes the rule engine to fail to connect to the `upstash` Redis service.
+After the fix, the Redis driver of EMQX uses RESP (REdis Serialization Protocol) to send AUTH and SELECT commands.