Procházet zdrojové kódy

fix(distribution): Set prevent_overlapping_partitions to false

ieQu1 před 2 roky
rodič
revize
1a86c21e20

+ 10 - 0
apps/emqx_conf/src/emqx_conf_schema.erl

@@ -221,6 +221,16 @@ fields("cluster") ->
             sc(
                 ?R_REF(cluster_k8s),
                 #{}
+            )},
+        {"prevent_overlapping_partitions",
+            sc(
+                boolean(),
+                #{
+                    mapping => "kernel.prevent_overlapping_partitions",
+                    desc => ?DESC(prevent_overlapping_partitions),
+                    default => false,
+                    importance => ?IMPORTANCE_HIDDEN
+                }
             )}
     ];
 fields(cluster_static) ->

+ 3 - 0
rel/i18n/emqx_conf_schema.hocon

@@ -801,4 +801,7 @@ Defaults to 100000."""
 node_channel_cleanup_batch_size.label:
 """Node Channel Cleanup Batch Size"""
 
+prevent_overlapping_partitions.desc:
+"""https://www.erlang.org/doc/man/global.html#description"""
+
 }