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

Sequence file has overlapped data after restarting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • 2022-5-StorageEngine

    Description

      SET STORAGE GROUP TO root.sg1;
      create aligned timeseries root.sg1.d1(s1 FLOAT encoding=RLE);
      insert into root.sg1.d1(time, s1) aligned values(1, 1.0);

      restart

      insert into root.sg1.d1(time, s1) aligned values(1, 10.0);
      insert into root.sg1.d1(time, s1) aligned values(2, 2.0);

      restart

      insert into root.sg1.d1(time, s1) aligned values(2, 20.0);
      insert into root.sg1.d1(time, s1) aligned values(3, 3.0);

      restart

      insert into root.sg1.d1(time, s1) aligned values(3, 3.0);
      insert into root.sg1.d1(time, s1) aligned values(4, 4.0);

      restart
       
      You will see the last sequence file contains 3 and 4 which is incorrect and should only contain 4.

      Attachments

        Issue Links

          Activity

            People

              HeimingZ Haiming Zhu
              jackietien Yuan Tian
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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