[feature](shuffle) enable strict consistency dml by default (#32958) (#34641)

This commit is contained in:
Kaijie Chen
2024-05-10 14:31:50 +08:00
committed by GitHub
parent 5a3107442a
commit 07207b7b51
5 changed files with 45 additions and 2 deletions

View File

@ -636,6 +636,12 @@ public class Config extends ConfigBase {
varType = VariableAnnotation.EXPERIMENTAL)
public static boolean enable_single_replica_load = false;
@ConfField(mutable = true, masterOnly = true, description = {
"对于 tablet 数量小于该数目的 DUPLICATE KEY 表,将不会启用 shuffle",
"Shuffle won't be enabled for DUPLICATE KEY tables if its tablet num is lower than this number"},
varType = VariableAnnotation.EXPERIMENTAL)
public static int min_tablets_for_dup_table_shuffle = 64;
@ConfField(mutable = true, masterOnly = true, description = {
"单个数据库最大并发运行的事务数,包括 prepare 和 commit 事务。",
"Maximum concurrent running txn num including prepare, commit txns under a single db.",