You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ta...@apache.org on 2024/11/08 03:44:22 UTC
(iotdb) branch master updated: [Region Migration] Fix Create ConsensusPipe On Coordinator Failed #14021
This is an automated email from the ASF dual-hosted git repository.
tanxinyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new dca2a0a6b16 [Region Migration] Fix Create ConsensusPipe On Coordinator Failed #14021
dca2a0a6b16 is described below
commit dca2a0a6b16e58ce0904055db607ff7705d39149
Author: Peng Junzhi <78...@users.noreply.github.com>
AuthorDate: Fri Nov 8 11:44:16 2024 +0800
[Region Migration] Fix Create ConsensusPipe On Coordinator Failed #14021
---
.../iotdb/consensus/pipe/consensuspipe/ConsensusPipeManager.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/pipe/consensuspipe/ConsensusPipeManager.java b/iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/pipe/consensuspipe/ConsensusPipeManager.java
index 304ab64235a..ce5ed5bfb12 100644
--- a/iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/pipe/consensuspipe/ConsensusPipeManager.java
+++ b/iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/pipe/consensuspipe/ConsensusPipeManager.java
@@ -99,9 +99,6 @@ public class ConsensusPipeManager {
EXTRACTOR_CONSENSUS_RECEIVER_DATANODE_ID_KEY,
String.valueOf(consensusPipeName.getReceiverDataNodeId()))
.put(EXTRACTOR_REALTIME_MODE_KEY, replicateMode.getValue())
- .put(
- EXTRACTOR_CONSENSUS_RESTORE_PROGRESS_PIPE_TASK_NAME_KEY,
- String.valueOf(new ConsensusPipeName(senderPeer, regionMigrationCoordinatorPeer)))
.build();
} else {
extractorParams =
@@ -118,6 +115,9 @@ public class ConsensusPipeManager {
EXTRACTOR_CONSENSUS_RECEIVER_DATANODE_ID_KEY,
String.valueOf(consensusPipeName.getReceiverDataNodeId()))
.put(EXTRACTOR_REALTIME_MODE_KEY, replicateMode.getValue())
+ .put(
+ EXTRACTOR_CONSENSUS_RESTORE_PROGRESS_PIPE_TASK_NAME_KEY,
+ String.valueOf(new ConsensusPipeName(senderPeer, regionMigrationCoordinatorPeer)))
.build();
}
return new ImmutableTriple<>(