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 2020/06/24 07:47:47 UTC

[GitHub] [incubator-iotdb] samperson1997 commented on a change in pull request #1416: [IOTDB-726] fix the lineNumber of mlog/snapshot is incorrect after restarting the server

samperson1997 commented on a change in pull request #1416:
URL: https://github.com/apache/incubator-iotdb/pull/1416#discussion_r444707007



##########
File path: server/src/main/java/org/apache/iotdb/db/metadata/MLogWriter.java
##########
@@ -169,4 +169,12 @@ private void newLine() throws IOException {
   int getLineNumber() {
     return lineNumber;
   }
+
+  /**
+   * only used for initialize a mlog file writer.
+   * @param number
+   */
+  void settLineNumber(int number) {

Review comment:
       ```suggestion
     void setLineNumber(int number) {
   ```




----------------------------------------------------------------
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:
users@infra.apache.org