File tree Expand file tree Collapse file tree 4 files changed +17
-1
lines changed
en/administrator-guide/config
zh-CN/administrator-guide/config
fe/fe-core/src/main/java/org/apache/doris/common Expand file tree Collapse file tree 4 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -1456,6 +1456,12 @@ MasterOnly:true
1456
1456
1457
1457
Default broker load timeout
1458
1458
1459
+ ### broker_timeout_ms
1460
+
1461
+ Default:10000 (10s)
1462
+
1463
+ Default broker RPC timeout
1464
+
1459
1465
### load_running_job_num_limit
1460
1466
1461
1467
Default:0
Original file line number Diff line number Diff line change @@ -1465,6 +1465,12 @@ load 最大超时时间,适用于除 stream load 之外的所有类型的加
1465
1465
1466
1466
Broker load 的默认超时时间
1467
1467
1468
+ ### ` broker_timeout_ms `
1469
+
1470
+ 默认值:10000 (10秒)
1471
+
1472
+ Broker rpc 的默认超时时间
1473
+
1468
1474
### ` load_running_job_num_limit `
1469
1475
1470
1476
默认值:0
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public class ClientPool {
50
50
}
51
51
52
52
static GenericKeyedObjectPoolConfig brokerPoolConfig = new GenericKeyedObjectPoolConfig ();
53
- static int brokerTimeoutMs = 10000 ;
53
+ static int brokerTimeoutMs = Config . broker_timeout_ms ;
54
54
55
55
static {
56
56
brokerPoolConfig .setLifo (true ); // set Last In First Out strategy
Original file line number Diff line number Diff line change @@ -531,6 +531,10 @@ public class Config extends ConfigBase {
531
531
@ ConfField (mutable = true , masterOnly = true )
532
532
public static int broker_load_default_timeout_second = 14400 ; // 4 hour
533
533
534
+ /**
535
+ * Broker rpc timeout
536
+ */
537
+ @ ConfField public static int broker_timeout_ms = 10000 ; // 10s
534
538
/**
535
539
* Default non-streaming mini load timeout
536
540
*/
You can’t perform that action at this time.
0 commit comments