jt2594838 commented on a change in pull request #372: 
[IOTDB-198]Reimplementation sync module
URL: https://github.com/apache/incubator-iotdb/pull/372#discussion_r323120237
 
 

 ##########
 File path: 
server/src/main/java/org/apache/iotdb/db/sync/sender/recover/ISyncSenderLogger.java
 ##########
 @@ -0,0 +1,62 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.iotdb.db.sync.sender.recover;
+
+import java.io.File;
+import java.io.IOException;
+
+/**
+ * This interface is used to log progress in the process of synchronization 
tasks. If the
+ * synchronization tasks are completed normally and there are no exceptions, 
the log records will be
+ * deleted; otherwise, the status can be restored according to the log at the 
start of each task. It
+ * ensures the correctness of synchronization module when system crash or 
network abnormality
+ * occur.
 
 Review comment:
   "when system crash or network abnormality occur" ->"when system crashed or 
network abnormality occurred"

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to