Pengzna commented on code in PR #13440:
URL: https://github.com/apache/iotdb/pull/13440#discussion_r1764498481


##########
iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/config/PipeConsensusConfig.java:
##########
@@ -34,9 +34,10 @@ public class PipeConsensusConfig {
   // Use stream mode by default. User can configure it
   private ReplicateMode replicateMode = ReplicateMode.STREAM;
 
-  public PipeConsensusConfig(RPC rpc, Pipe pipe) {
+  public PipeConsensusConfig(RPC rpc, Pipe pipe, ReplicateMode replicateMode) {
     this.rpc = rpc;
     this.pipe = pipe;
+    this.replicateMode = replicateMode;
   }
 
   public void setReplicateMode(ReplicateMode replicateMode) {

Review Comment:
   fixed



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to