This is an automated email from the ASF dual-hosted git repository.
justinchen pushed a commit to branch air-gap-local
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/air-gap-local by this push:
new 0306eaba275 fix
0306eaba275 is described below
commit 0306eaba2750a80e6ab70e476bfc120822b48bea
Author: Caideyipi <[email protected]>
AuthorDate: Mon Feb 9 15:59:16 2026 +0800
fix
---
.../receiver/protocol/airgap/IoTDBAirGapReceiver.java | 6 ++++--
.../org/apache/iotdb/commons/conf/CommonConfig.java | 19 +++++++++----------
.../iotdb/commons/pipe/config/PipeDescriptor.java | 2 +-
3 files changed, 14 insertions(+), 13 deletions(-)
diff --git
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/airgap/IoTDBAirGapReceiver.java
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/airgap/IoTDBAirGapReceiver.java
index 4e50e4c08d2..49e642371c6 100644
---
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/airgap/IoTDBAirGapReceiver.java
+++
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/airgap/IoTDBAirGapReceiver.java
@@ -179,7 +179,8 @@ public class IoTDBAirGapReceiver extends WrappedRunnable {
}
}
- private void handleReq(final AirGapPseudoTPipeTransferRequest req, final
long startTime) throws IOException {
+ private void handleReq(final AirGapPseudoTPipeTransferRequest req, final
long startTime)
+ throws IOException {
final TPipeTransferResp resp = agent.receive(req);
final TSStatus status = resp.getStatus();
@@ -200,7 +201,8 @@ public class IoTDBAirGapReceiver extends WrappedRunnable {
} catch (final InterruptedException e) {
Thread.currentThread().interrupt();
}
- if (System.currentTimeMillis() - startTime <
PipeConfig.getInstance().getPipeAirGapRetryMaxMs()) {
+ if (System.currentTimeMillis() - startTime
+ < PipeConfig.getInstance().getPipeAirGapRetryMaxMs()) {
handleReq(req, startTime);
}
} else {
diff --git
a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/conf/CommonConfig.java
b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/conf/CommonConfig.java
index 1aa12e1096a..b5cf9cd1a3c 100644
---
a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/conf/CommonConfig.java
+++
b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/conf/CommonConfig.java
@@ -279,7 +279,7 @@ public class CommonConfig {
private int pipeAsyncSinkForcedRetryTsFileEventQueueSize = 5;
private int pipeAsyncSinkForcedRetryTabletEventQueueSize = 20;
private int pipeAsyncSinkForcedRetryTotalEventQueueSize = 30;
- private long pipeAsyncConnectorMaxRetryExecutionTimeMsPerCall = 500;
+ private long pipeAsyncSinkMaxRetryExecutionTimeMsPerCall = 500;
private int pipeAsyncConnectorSelectorNumber =
Math.max(4, Runtime.getRuntime().availableProcessors() / 2);
private int pipeAsyncConnectorMaxClientNumber =
@@ -1187,21 +1187,20 @@ public class CommonConfig {
return pipeAsyncSinkForcedRetryTotalEventQueueSize;
}
- public void setPipeAsyncConnectorMaxRetryExecutionTimeMsPerCall(
- long pipeAsyncConnectorMaxRetryExecutionTimeMsPerCall) {
- if (this.pipeAsyncConnectorMaxRetryExecutionTimeMsPerCall
- == pipeAsyncConnectorMaxRetryExecutionTimeMsPerCall) {
+ public void setPipeAsyncSinkMaxRetryExecutionTimeMsPerCall(
+ long pipeAsyncSinkMaxRetryExecutionTimeMsPerCall) {
+ if (this.pipeAsyncSinkMaxRetryExecutionTimeMsPerCall
+ == pipeAsyncSinkMaxRetryExecutionTimeMsPerCall) {
return;
}
- this.pipeAsyncConnectorMaxRetryExecutionTimeMsPerCall =
- pipeAsyncConnectorMaxRetryExecutionTimeMsPerCall;
+ this.pipeAsyncSinkMaxRetryExecutionTimeMsPerCall =
pipeAsyncSinkMaxRetryExecutionTimeMsPerCall;
logger.info(
- "pipeAsyncConnectorMaxRetryExecutionTimeMsPerCall is set to {}.",
- pipeAsyncConnectorMaxRetryExecutionTimeMsPerCall);
+ "pipeAsyncSinkMaxRetryExecutionTimeMsPerCall is set to {}.",
+ pipeAsyncSinkMaxRetryExecutionTimeMsPerCall);
}
public long getPipeAsyncSinkMaxRetryExecutionTimeMsPerCall() {
- return pipeAsyncConnectorMaxRetryExecutionTimeMsPerCall;
+ return pipeAsyncSinkMaxRetryExecutionTimeMsPerCall;
}
public int getPipeAsyncSinkSelectorNumber() {
diff --git
a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/config/PipeDescriptor.java
b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/config/PipeDescriptor.java
index e2d07c10280..832517b9745 100644
---
a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/config/PipeDescriptor.java
+++
b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/config/PipeDescriptor.java
@@ -396,7 +396,7 @@ public class PipeDescriptor {
properties.getProperty(
"pipe_connector_rpc_thrift_compression_enabled",
String.valueOf(config.isPipeSinkRPCThriftCompressionEnabled())))));
- config.setPipeAsyncConnectorMaxRetryExecutionTimeMsPerCall(
+ config.setPipeAsyncSinkMaxRetryExecutionTimeMsPerCall(
Long.parseLong(
Optional.ofNullable(
properties.getProperty("pipe_async_sink_max_retry_execution_time_ms_per_call"))