You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "morningman (via GitHub)" <gi...@apache.org> on 2024/02/02 14:05:10 UTC
Re: [PR] [Opt](multi-catalog) Opt split assignment to resolve uneven distribution. [doris]
morningman commented on code in PR #30390:
URL: https://github.com/apache/doris/pull/30390#discussion_r1476079814
##########
fe/fe-common/src/main/java/org/apache/doris/common/Config.java:
##########
@@ -2234,7 +2234,28 @@ public class Config extends ConfigBase {
"When file cache is enabled, the number of virtual nodes of each node in the consistent hash algorithm. "
+ "The larger the value, the more uniform the distribution of the hash algorithm, "
+ "but it will increase the memory overhead."})
- public static int virtual_node_number = 2048;
+ public static int virtual_node_number = 256;
+
+ @ConfField(mutable = true, description = {
+ "本地节点软亲缘性优化。尽可能地优先选取本地副本节点。",
+ "Local node soft affinity optimization. Prefer local replication node."})
+ public static boolean optimized_local_scheduling = true;
Review Comment:
Add prefix for all these config, eg: `split_assigner_xxx`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org