周沛辰 created IOTDB-4606:
--------------------------

             Summary: Fix getting wrong sensors and schemas in compaction
                 Key: IOTDB-4606
                 URL: https://issues.apache.org/jira/browse/IOTDB-4606
             Project: Apache IoTDB
          Issue Type: Bug
    Affects Versions: master branch, 0.13.3-SNAPSHOT
            Reporter: 周沛辰
            Assignee: 周沛辰


*Description*

If file 1 has d0 and d3, file 2 has d1 and d4, when compacting d0 and obtaining 
the sensors under it, it will mistakenly take the sensors under d1 in file 2.

 

*Reason*

There is bug in _MultiTsFileDeviceIterator_ class. This class is used to obtain 
the devices in all source files in lexicographic order from small to large. 
There is a problem with the logic of judging whether the current device exists 
in a certain file.



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

Reply via email to