Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -611,8 +611,6 @@ public final class DataNodePipeMessages {
"The pipe cannot extract table model data when sql dialect is set to tree.";
public static final String THE_PIPE_CANNOT_EXTRACT_TREE_MODEL_DATA =
"The pipe cannot extract tree model data when sql dialect is set to table.";
public static final String THE_PIPE_CANNOT_TRANSFER_DATA_WHEN_DATA =
"The pipe cannot transfer data when data region is using ratis consensus.";
public static final String THE_REFERENCE_COUNT_OF_THE_EVENT_CANNOT =
"The reference count of the event {} cannot be increased, skipping it.";
public static final String THE_REFERENCE_COUNT_OF_THE_REALTIME_EVENT =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -584,8 +584,6 @@ public final class DataNodePipeMessages {
"The pipe cannot extract table model data when sql dialect is set to tree.";
public static final String THE_PIPE_CANNOT_EXTRACT_TREE_MODEL_DATA =
"The pipe cannot extract tree model data when sql dialect is set to table.";
public static final String THE_PIPE_CANNOT_TRANSFER_DATA_WHEN_DATA =
"The pipe cannot transfer data when data region is using ratis consensus.";
public static final String THE_REFERENCE_COUNT_OF_THE_EVENT_CANNOT =
"The reference count of the event {} cannot be increased, skipping it.";
public static final String THE_REFERENCE_COUNT_OF_THE_REALTIME_EVENT =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
import org.apache.iotdb.commons.pipe.datastructure.pattern.TreePattern;
import org.apache.iotdb.commons.pipe.source.IoTDBSource;
import org.apache.iotdb.commons.queryengine.common.SqlDialect;
import org.apache.iotdb.consensus.ConsensusFactory;
import org.apache.iotdb.db.conf.IoTDBDescriptor;
import org.apache.iotdb.db.i18n.DataNodePipeMessages;
import org.apache.iotdb.db.pipe.event.common.heartbeat.PipeHeartbeatEvent;
import org.apache.iotdb.db.pipe.metric.overview.PipeDataNodeSinglePipeMetrics;
Expand Down Expand Up @@ -152,14 +150,6 @@ public void validate(final PipeParameterValidator validator) throws Exception {
hasNoExtractionNeed = false;
shouldExtractDeletion = insertionDeletionListeningOptionPair.getRight();

if (insertionDeletionListeningOptionPair.getLeft().equals(true)
&& IoTDBDescriptor.getInstance()
.getConfig()
.getDataRegionConsensusProtocolClass()
.equals(ConsensusFactory.RATIS_CONSENSUS)) {
throw new PipeException(DataNodePipeMessages.THE_PIPE_CANNOT_TRANSFER_DATA_WHEN_DATA);
}

// Validate source.pattern.format is within valid range
validator
.validateAttributeValueRange(
Expand Down
Loading