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 06:15:37 UTC

[incubator-iotdb] branch feature_async_close_tsfile updated: remove recover stage

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 96bf103  remove recover stage
96bf103 is described below

commit 96bf1034b6ade51647f68afc375255dd3587a901
Author: 江天 <jt...@163.com>
AuthorDate: Thu Jun 20 14:13:33 2019 +0800

    remove recover stage
---
 .../org/apache/iotdb/db/writelog/RecoverStage.java | 50 ----------------------
 1 file changed, 50 deletions(-)

diff --git a/iotdb/src/main/java/org/apache/iotdb/db/writelog/RecoverStage.java b/iotdb/src/main/java/org/apache/iotdb/db/writelog/RecoverStage.java
deleted file mode 100644
index 5aafdf6..0000000
--- a/iotdb/src/main/java/org/apache/iotdb/db/writelog/RecoverStage.java
+++ /dev/null
@@ -1,50 +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 enum RecoverStage {
-  /**
-   * This is just the start point of the recovery auto mata.
-   */
-  INIT,
-
-  /**
-   * In this stage, the mission is to backup restore file, processor.store file with suffix
-   * "-recovery". Should SET flag afterward.
-   */
-  BACK_UP,
-
-  /**
-   * In this stage, the mission is to recover TsFile / OverflowFile with restore file Should NOT SET
-   * flag afterward.
-   */
-  RECOVER_FILE,
-
-  /**
-   * In this stage, the mission is to cloneList logs from wal and wal-old files (if exists) and replay
-   * them. Should SET flag afterward,
-   */
-  REPLAY_LOG,
-
-  /**
-   * In this stage, the mission is to clean all "-recovery" files, log file and recovery flag.
-   * Should CLEAN flag afterward.
-   */
-  CLEAN_UP
-}