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

[0.13.3]After canceling a data archiving task and resubmitting it again, its task status is not updated

    XMLWordPrintableJSON

Details

    • 2022-10-Cluster

    Description

      In Version 0.13.3, after canceling a data archiving task and resubmitting it again, then task status is not updated, just shows CANCELED.
      Like this:

      IoTDB> SET ARCHIVING TO storage_group=root.test.g_0 start_time=3603-02-05T16:53:25 ttl=3600000 target_dir="/home/xzh/files";
      Msg: The statement is executed successfully.
      IoTDB> SHOW ARCHIVING
      +-------+-----------------------------+-------------+------+---------------------------+---------------+----------------+
      |task id|                  submit time|storage group|status|                 start time|expire time(ms)|target directory|
      +-------+-----------------------------+-------------+------+---------------------------+---------------+----------------+
      |      0|2022-10-13T16:16:56.790+08:00|root.test.g_0| READY|3603-2-5T16:53:25.000+08:00|        3600000| /home/xzh/files|
      +-------+-----------------------------+-------------+------+---------------------------+---------------+----------------+
      Total line number = 1
      It costs 0.026s
      IoTDB> SHOW ALL ARCHIVING
      +-------+-----------------------------+-------------+------+---------------------------+---------------+----------------+
      |task id|                  submit time|storage group|status|                 start time|expire time(ms)|target directory|
      +-------+-----------------------------+-------------+------+---------------------------+---------------+----------------+
      |      0|2022-10-13T16:16:56.790+08:00|root.test.g_0| READY|3603-2-5T16:53:25.000+08:00|        3600000| /home/xzh/files|
      +-------+-----------------------------+-------------+------+---------------------------+---------------+----------------+
      Total line number = 1
      It costs 1.775s
      IoTDB> SHOW ARCHIVING ON root.test.g_0;
      +-------+-----------------------------+-------------+------+---------------------------+---------------+----------------+
      |task id|                  submit time|storage group|status|                 start time|expire time(ms)|target directory|
      +-------+-----------------------------+-------------+------+---------------------------+---------------+----------------+
      |      0|2022-10-13T16:16:56.790+08:00|root.test.g_0| READY|3603-2-5T16:53:25.000+08:00|        3600000| /home/xzh/files|
      +-------+-----------------------------+-------------+------+---------------------------+---------------+----------------+
      Total line number = 1
      It costs 0.031s
      IoTDB> CANCEL ARCHIVING ON root.test.g_0;
      Msg: The statement is executed successfully.
      IoTDB> SHOW ARCHIVING ON root.test.g_0;
      +-------+-----------+-------------+------+----------+---------------+----------------+
      |task id|submit time|storage group|status|start time|expire time(ms)|target directory|
      +-------+-----------+-------------+------+----------+---------------+----------------+
      +-------+-----------+-------------+------+----------+---------------+----------------+
      Empty set.
      It costs 0.033s
      IoTDB> SET ARCHIVING TO storage_group=root.test.g_0 start_time=3603-02-05T16:53:25 ttl=3600000 target_dir="/home/xzh/files";
      Msg: The statement is executed successfully. 
      IoTDB> SHOW ARCHIVING ON root.test.g_0;
      +-------+-----------+-------------+------+----------+---------------+----------------+
      |task id|submit time|storage group|status|start time|expire time(ms)|target directory|
      +-------+-----------+-------------+------+----------+---------------+----------------+
      +-------+-----------+-------------+------+----------+---------------+----------------+
      Empty set.
      It costs 1.282s
      IoTDB> SHOW ALL ARCHIVING
      +-------+-----------------------------+-------------+--------+---------------------------+---------------+----------------+
      |task id|                  submit time|storage group|  status|                 start time|expire time(ms)|target directory|
      +-------+-----------------------------+-------------+--------+---------------------------+---------------+----------------+
      |      0|2022-10-13T16:16:56.790+08:00|root.test.g_0|CANCELED|3603-2-5T16:53:25.000+08:00|        3600000| /home/xzh/files|
      +-------+-----------------------------+-------------+--------+---------------------------+---------------+----------------+
      Total line number = 1
      It costs 1.742s
      

      Attachments

        Issue Links

          Activity

            People

              HeimingZ Haiming Zhu
              xiaozhihong xiaozhihong
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: