You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "xiaozhihong (Jira)" <ji...@apache.org> on 2022/10/13 08:32:00 UTC

[jira] [Created] (IOTDB-4640) [0.13.3]After canceling a data archiving task and resubmitting it again, its task status is not updated

xiaozhihong created IOTDB-4640:
----------------------------------

             Summary: [0.13.3]After canceling a data archiving task and resubmitting it again, its task status is not updated
                 Key: IOTDB-4640
                 URL: https://issues.apache.org/jira/browse/IOTDB-4640
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/TsFile
    Affects Versions: 0.13.3
            Reporter: xiaozhihong
            Assignee: Haiming Zhu


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:
{code:java}
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
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)