فهرست منبع

Merge pull request #10042 from ieQu1/ekka-0.14.2

chore(ekka): Bump version to 0.14.2 (mria 0.3.3)
ieQu1 3 سال پیش
والد
کامیت
9ccd5ab611
5فایلهای تغییر یافته به همراه14 افزوده شده و 3 حذف شده
  1. 1 1
      apps/emqx/rebar.config
  2. 5 0
      changes/ce/fix-10042.en.md
  3. 6 0
      changes/ce/fix-10042.zh.md
  4. 1 1
      mix.exs
  5. 1 1
      rebar.config

+ 1 - 1
apps/emqx/rebar.config

@@ -27,7 +27,7 @@
     {jiffy, {git, "https://github.com/emqx/jiffy", {tag, "1.0.5"}}},
     {cowboy, {git, "https://github.com/emqx/cowboy", {tag, "2.9.0"}}},
     {esockd, {git, "https://github.com/emqx/esockd", {tag, "5.9.4"}}},
-    {ekka, {git, "https://github.com/emqx/ekka", {tag, "0.14.1"}}},
+    {ekka, {git, "https://github.com/emqx/ekka", {tag, "0.14.2"}}},
     {gen_rpc, {git, "https://github.com/emqx/gen_rpc", {tag, "2.8.1"}}},
     {hocon, {git, "https://github.com/emqx/hocon.git", {tag, "0.36.0"}}},
     {pbkdf2, {git, "https://github.com/emqx/erlang-pbkdf2.git", {tag, "2.0.4"}}},

+ 5 - 0
changes/ce/fix-10042.en.md

@@ -0,0 +1,5 @@
+Improve behavior of the `replicant` nodes when the `core` cluster becomes partitioned (for example when a core node leaves the cluster).
+Previously, the replicant nodes were unable to rebalance connections to the core nodes, until the core cluster became whole again.
+This was indicated by the error messages: `[error] line: 182, mfa: mria_lb:list_core_nodes/1, msg: mria_lb_core_discovery divergent cluster`.
+
+[Mria PR](https://github.com/emqx/mria/pull/123/files)

+ 6 - 0
changes/ce/fix-10042.zh.md

@@ -0,0 +1,6 @@
+改进 `core` 集群被分割时 `replicant`节点的行为。
+修复前,如果 `core` 集群分裂成两个小集群(例如一个节点离开集群)时,`replicant` 节点无法重新平衡与核心节点的连接,直到核心集群再次变得完整。
+这种个问题会导致 replicant 节点出现如下日志:
+`[error] line: 182, mfa: mria_lb:list_core_nodes/1, msg: mria_lb_core_discovery divergent cluster`。
+
+[Mria PR](https://github.com/emqx/mria/pull/123/files)

+ 1 - 1
mix.exs

@@ -54,7 +54,7 @@ defmodule EMQXUmbrella.MixProject do
       {:cowboy, github: "emqx/cowboy", tag: "2.9.0", override: true},
       {:esockd, github: "emqx/esockd", tag: "5.9.4", override: true},
       {:rocksdb, github: "emqx/erlang-rocksdb", tag: "1.7.2-emqx-7", override: true},
-      {:ekka, github: "emqx/ekka", tag: "0.14.1", override: true},
+      {:ekka, github: "emqx/ekka", tag: "0.14.2", override: true},
       {:gen_rpc, github: "emqx/gen_rpc", tag: "2.8.1", override: true},
       {:grpc, github: "emqx/grpc-erl", tag: "0.6.7", override: true},
       {:minirest, github: "emqx/minirest", tag: "1.3.8", override: true},

+ 1 - 1
rebar.config

@@ -56,7 +56,7 @@
     , {cowboy, {git, "https://github.com/emqx/cowboy", {tag, "2.9.0"}}}
     , {esockd, {git, "https://github.com/emqx/esockd", {tag, "5.9.4"}}}
     , {rocksdb, {git, "https://github.com/emqx/erlang-rocksdb", {tag, "1.7.2-emqx-7"}}}
-    , {ekka, {git, "https://github.com/emqx/ekka", {tag, "0.14.1"}}}
+    , {ekka, {git, "https://github.com/emqx/ekka", {tag, "0.14.2"}}}
     , {gen_rpc, {git, "https://github.com/emqx/gen_rpc", {tag, "2.8.1"}}}
     , {grpc, {git, "https://github.com/emqx/grpc-erl", {tag, "0.6.7"}}}
     , {minirest, {git, "https://github.com/emqx/minirest", {tag, "1.3.8"}}}