emqx/changes
Zaiming (Stone) Shi f9e9748cec fix(cluster-rpc): boot from local config if table loaded
When EMQX boots up, it tries to get latest config from peer (core type)
nodes, if none of the nodes are replying, the node will decide
to boot with local config (and replay the committed changes) if
the commit table is loaded from disk locally (an indication of the
data being latest), otherwise it will sleep for 1-2 seconds and
retry.

This lead to a race condition, e.g. in a two nodes cluster:

1. node1 boots up
2. node2 boots up and copy mnesia table from node1
3. node1 restart before node2 can sync cluster.hocon from it
4. node1 boots up and copy mnesia table from node2

Now that both node1 and node2 has the mnesia `load_node` pointing
to each other (i.e. not a local disk load).

Prior to this fix, the nodes would wait for each other in a dead loop.

This commit fixes the issue by allowing node to boot
with local config if it does not have a lagging.
2023-11-08 15:06:47 +01:00
..
ce fix(cluster-rpc): boot from local config if table loaded 2023-11-08 15:06:47 +01:00
ee chore: rename bridges_v2 -> actions in the public facing APIs 2023-11-06 15:37:07 -03:00
e5.0.1.en.md chore: Generate changelog for e5.0.1 and v5.0.20 2023-03-09 18:47:02 +01:00
e5.0.1.zh.md chore: Generate changelog for e5.0.1 and v5.0.20 2023-03-09 18:47:02 +01:00
e5.0.2.en.md chore: update changelog 2023-04-12 07:57:52 +02:00
e5.0.2.zh.md chore: update changelog 2023-04-12 07:57:52 +02:00
e5.0.3.en.md chore: apply suggestions from code review 2023-05-06 13:49:26 +08:00
e5.0.3.zh.md chore: fix bad indent 2023-05-06 13:54:34 +08:00
e5.0.4.en.md docs: restore e5.0.4 changelog to manually updated version 2023-05-26 15:43:01 +02:00
e5.1.0.en.md docs: update changelogs 2023-06-21 15:08:52 +02:00
e5.1.1.en.md docs: add changelog for e5.1.1 2023-07-27 12:37:16 +02:00
e5.2.0.en.md docs: add changelog file e5.2.0.en.md 2023-09-07 09:53:57 +02:00
e5.2.1.en.md docs: Generate changelog for v5.2.1 and e5.2.1 2023-09-20 14:07:56 +02:00
e5.3.0.en.md docs: add changelog for e5.3.0 2023-09-29 13:51:41 +02:00
feat-10607.en.md chore: update 10607's log config changelog 2023-05-16 22:04:14 +08:00
v5.0.1-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.2-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.3-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.4-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.5-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.6-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.7-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.8-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.9-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.9-zh.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.10-en.md chore: add missed changes 2022-12-15 16:16:27 +08:00
v5.0.10-zh.md chore: add missed changes 2022-12-15 16:16:27 +08:00
v5.0.11-en.md chore: update changes 2022-11-25 21:39:12 +08:00
v5.0.11-zh.md chore: update v5.0.12 changelog 2022-11-25 07:33:36 +08:00
v5.0.12-en.md docs: update change log, record fix with the right PR 2022-12-14 20:01:17 +01:00
v5.0.12-zh.md docs: update change log, record fix with the right PR 2022-12-14 20:01:17 +01:00
v5.0.13-en.md chore: move changelog entries to v5.0.15 2023-01-13 10:04:29 +01:00
v5.0.13-zh.md chore: move changelog entries to v5.0.15 2023-01-13 10:04:29 +01:00
v5.0.14-en.md docs: merge released change logs (v5.0.14) 2023-01-16 13:39:11 +01:00
v5.0.14-zh.md docs: merge released change logs (v5.0.14) 2023-01-16 13:39:11 +01:00
v5.0.15-en.md chore(auth): split emqx_authn and emqx_authz apps 2023-10-05 13:41:50 +03:00
v5.0.15-zh.md chore(auth): split emqx_authn and emqx_authz apps 2023-10-05 13:41:50 +03:00
v5.0.16-en.md chore: Generate changelog for v5.0.16 2023-02-02 17:43:01 +01:00
v5.0.16-zh.md chore: Generate changelog for v5.0.16 2023-02-02 17:43:01 +01:00
v5.0.17-en.md chore: update v5.0.17 changelog 2023-02-13 19:26:21 +08:00
v5.0.17-zh.md chore: update v5.0.17 changelog 2023-02-13 19:26:21 +08:00
v5.0.18.en.md docs: merge missed change logs to v5.0.18 2023-03-01 14:06:23 +01:00
v5.0.18.zh.md docs: merge missed change logs to v5.0.18 2023-03-01 14:06:23 +01:00
v5.0.19.en.md chore: Generate changelog for v5.0.19 2023-03-01 11:56:33 +01:00
v5.0.19.zh.md chore: Generate changelog for v5.0.19 2023-03-01 11:56:33 +01:00
v5.0.20.en.md chore: Generate changelog for e5.0.1 and v5.0.20 2023-03-09 18:47:02 +01:00
v5.0.20.zh.md chore: Generate changelog for e5.0.1 and v5.0.20 2023-03-09 18:47:02 +01:00
v5.0.21.en.md docs: fix both original and merged change logs 2023-03-24 21:39:04 +01:00
v5.0.21.zh.md docs: fix both original and merged change logs 2023-03-24 21:39:04 +01:00
v5.0.22.en.md docs: Generate changelog for v5.0.22 2023-04-13 13:29:32 +02:00
v5.0.23.en.md docs: Generate changelog for v5.0.23 2023-04-18 18:09:24 +02:00
v5.0.24.en.md docs: Generate changelog for v5.0.24 2023-04-26 18:03:00 +02:00
v5.0.26.en.md docs: Generate changelog for v5.0.26 2023-05-29 09:31:30 -03:00
v5.1.0.en.md docs: update changelogs 2023-06-21 15:08:52 +02:00
v5.1.1.en.md docs: Generate changelog for v5.1.1 2023-07-05 18:48:33 +03:00
v5.1.2.en.md docs: Generate changelog for v5.1.2 2023-07-21 13:26:55 +02:00
v5.1.3.en.md docs: Generate changelog for v5.1.3 2023-07-27 17:04:15 +02:00
v5.1.4.en.md docs: Generate changelog for v5.1.4 2023-08-01 09:23:39 +02:00
v5.1.5-build.3.en.md docs: Generate changelog for v5.1.5-build.3 2023-08-10 12:56:40 +02:00
v5.1.5-patch.1.en.md docs: Generate changelog for v5.1.5-patch.1 2023-08-09 13:18:09 -03:00
v5.1.5-patch.2.en.md docs: Generate changelog for v5.1.5-patch.2 2023-08-09 16:38:28 -03:00
v5.1.5.en.md docs: Generate changelog for v5.1.5 2023-08-08 10:33:34 -03:00
v5.1.6.en.md chore: fix typos and use consistent wording in the changelog 2023-09-04 11:53:47 +02:00
v5.2.0-build.1.en.md docs: Generate changelog for v5.2.0-build.1 2023-09-11 16:33:41 -03:00
v5.2.0.en.md chore: sync changelog updates from e5.2.0 to v5.2.0 2023-09-08 16:37:55 +02:00
v5.2.1.en.md docs: Generate changelog for v5.2.1 and e5.2.1 2023-09-20 14:07:56 +02:00
v5.3.0.en.md docs: add changelog for v5.3.0 2023-09-29 13:55:34 +02:00