You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ji...@apache.org on 2019/06/20 05:16:24 UTC

[incubator-iotdb] branch feature_async_close_tsfile updated: remove LogPosition

This is an automated email from the ASF dual-hosted git repository.

jiangtian pushed a commit to branch feature_async_close_tsfile
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git


The following commit(s) were added to refs/heads/feature_async_close_tsfile by this push:
     new 60e507e  remove LogPosition
60e507e is described below

commit 60e507e9dcf583f9d12e54a0ccb43f066f429912
Author: 江天 <jt...@163.com>
AuthorDate: Thu Jun 20 13:14:19 2019 +0800

    remove LogPosition
---
 .../org/apache/iotdb/db/writelog/LogPosition.java  | 26 ----------------------
 .../iotdb/db/writelog/node/WriteLogNode.java       |  2 --
 2 files changed, 28 deletions(-)

diff --git a/iotdb/src/main/java/org/apache/iotdb/db/writelog/LogPosition.java b/iotdb/src/main/java/org/apache/iotdb/db/writelog/LogPosition.java
deleted file mode 100644
index d32c934..0000000
--- a/iotdb/src/main/java/org/apache/iotdb/db/writelog/LogPosition.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * 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.writelog;
-
-public class LogPosition {
-
-  private String logPath;
-  private long startPos;
-  private long endPos;
-}
diff --git a/iotdb/src/main/java/org/apache/iotdb/db/writelog/node/WriteLogNode.java b/iotdb/src/main/java/org/apache/iotdb/db/writelog/node/WriteLogNode.java
index f9c5f35..a4b2d2e 100644
--- a/iotdb/src/main/java/org/apache/iotdb/db/writelog/node/WriteLogNode.java
+++ b/iotdb/src/main/java/org/apache/iotdb/db/writelog/node/WriteLogNode.java
@@ -19,9 +19,7 @@
 package org.apache.iotdb.db.writelog.node;
 
 import java.io.IOException;
-import org.apache.iotdb.db.exception.RecoverException;
 import org.apache.iotdb.db.qp.physical.PhysicalPlan;
-import org.apache.iotdb.db.writelog.LogPosition;
 import org.apache.iotdb.db.writelog.io.ILogReader;
 
 public interface WriteLogNode {