You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Tian Jiang (Jira)" <ji...@apache.org> on 2020/03/27 10:23:00 UTC

[jira] [Created] (IOTDB-569) Fix deletion version number when deleting multiple partitions

Tian Jiang created IOTDB-569:
--------------------------------

             Summary: Fix deletion version number when deleting multiple partitions
                 Key: IOTDB-569
                 URL: https://issues.apache.org/jira/browse/IOTDB-569
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Engine
    Affects Versions: master branch
            Reporter: Tian Jiang
            Assignee: Kaifeng Xue
             Fix For: master branch


Each partition has its own version number so that in the distributed version, files of the same partition in different IoTDB instances can be compared in a unified fashion.

However, when performing a deletion, the version number of the deletion is mistakenly set to that of the partition of the deletion's endpoint, so other partitions will receive a deletion with wrong version number.

The solution is when a deletion is written to a certain file, its version number should be set to the next version of the partition where the file is in.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)