From 03d05825db44ceffa9a356cb0b5681c47f0eccb2 Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Thu, 22 Jun 2023 17:12:41 +0200 Subject: [PATCH] docs: hide core_nodes config doc core_nodes config is no longer required. --- apps/emqx_conf/src/emqx_conf_schema.erl | 2 ++ rel/i18n/emqx_conf_schema.hocon | 11 ----------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/apps/emqx_conf/src/emqx_conf_schema.erl b/apps/emqx_conf/src/emqx_conf_schema.erl index ce7bbb8b2..89fda6de8 100644 --- a/apps/emqx_conf/src/emqx_conf_schema.erl +++ b/apps/emqx_conf/src/emqx_conf_schema.erl @@ -154,6 +154,8 @@ fields("cluster") -> sc( node_array(), #{ + %% This config is nerver needed (since 5.0.0) + importance => ?IMPORTANCE_HIDDEN, mapping => "mria.core_nodes", default => [], 'readOnly' => true, diff --git a/rel/i18n/emqx_conf_schema.hocon b/rel/i18n/emqx_conf_schema.hocon index 1fb37cd0a..bc45fa009 100644 --- a/rel/i18n/emqx_conf_schema.hocon +++ b/rel/i18n/emqx_conf_schema.hocon @@ -389,17 +389,6 @@ cluster_mcast_ttl.desc: cluster_mcast_ttl.label: """Cluster Multicast TTL""" -db_core_nodes.desc: -"""List of core nodes that the replicant will connect to.
-Note: this parameter only takes effect when the backend is set -to rlog and the role is set to replicant.
-This value needs to be defined for manual or static cluster discovery mechanisms.
-If an automatic cluster discovery mechanism is being used (such as etcd), -there is no need to set this value.""" - -db_core_nodes.label: -"""Db Core Node""" - log_file_handler_file.desc: """Name the log file."""