You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/09/02 09:01:52 UTC

[GitHub] [iotdb] neuyilan commented on a change in pull request #3439: [IOTDB-1450] Deletion should only delete related time partitions

neuyilan commented on a change in pull request #3439:
URL: https://github.com/apache/iotdb/pull/3439#discussion_r700891936



##########
File path: cluster/src/main/java/org/apache/iotdb/cluster/log/applier/DataLogApplier.java
##########
@@ -79,6 +81,12 @@ public void apply(Log log) {
       } else if (log instanceof PhysicalPlanLog) {
         PhysicalPlanLog physicalPlanLog = (PhysicalPlanLog) log;
         PhysicalPlan plan = physicalPlanLog.getPlan();
+        if (plan instanceof DeletePlan) {

Review comment:
       Is this due to the optimization of 1 replica? When the number of replicas is 1, the cluster does not follow the raft logic.




-- 
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: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org