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

master :Compaction recover causes of data loss (Before this problem there was the kill operation in revover)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • master branch
    • None
    • Core/Compaction
    • None

    Description

      master 0073a28384cdb84e9469dbf98705ab158dd43a31

      1. Run the Benchmark tool ,Execute 2 times in serial
      See the attachment for configuration parameters

      2. Execute q.sh (All SQL results:200000000)
      Ensure that data is correct before the restart

      3. Back up data

      4.Execute stop-server.sh when compacting

      5. Execute start-server.sh
      Execute q.sh (All SQL results:200000000)
      Run for about 30 minutes
      Execute stop-server.sh when compacting

      6. Back up data

      7. Execute start-server.sh
      Execute “killall -u xx” before "Congratulation, IoTDB is set up successfully. Now, enjoy yourself!"
      That is to say,
      Execute “killall -u xx” when recovering.

      8. Back up data

      9. Execute start-server.sh
      Execute q.sh(The expected value of all SQL results is:200000000) :
      -----------------------------

      count(root.ip5.ip52.d_12.s_0)

      -----------------------------

      199804000

      -----------------------------
      Total line number = 1
      It costs 69.841s
      ----------------------------

      count(root.ip5.ip52.d_2.s_0)

      ----------------------------

      199803000

      ----------------------------
      Total line number = 1
      It costs 64.820s

      Attachments

        1. config.properties.1
          12 kB
          刘珍
        2. config.properties.2
          12 kB
          刘珍

        Activity

          People

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

            Dates

              Created:
              Updated: