Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1902

Modify the data dirs after shutting down IoTDB, then restarting, the data increases abnormally

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.12.2
    • 0.12.3
    • None
    • 2021-10-DragonGate

    Description

      1. Description
        If the IoTDB is shut down when compacting. If we change the data directory, and rerun IoTDB, there will be an abnormal increase in data.
      2. Cause
        The compaction log (cross-space compaction and in-space compaction) record the absolute path of source file and target file, if the data diretory is changed, the recover of compaction cannot find the target file and source files.

      Attachments

        Issue Links

          Activity

            People

              ThuLiuxuxin Liuxuxin
              ThuLiuxuxin Liuxuxin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 16h
                  16h
                  Remaining:
                  Remaining Estimate - 16h
                  16h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified