You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Xiangdong Huang (Jira)" <ji...@apache.org> on 2021/08/13 09:58:00 UTC
[jira] [Assigned] (IOTDB-1433) Fix bug in getMetadataAndEndOffset
when querying non-exist device
[ https://issues.apache.org/jira/browse/IOTDB-1433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiangdong Huang reassigned IOTDB-1433:
--------------------------------------
Assignee: Zesong Sun
> Fix bug in getMetadataAndEndOffset when querying non-exist device
> -----------------------------------------------------------------
>
> Key: IOTDB-1433
> URL: https://issues.apache.org/jira/browse/IOTDB-1433
> Project: Apache IoTDB
> Issue Type: Bug
> Components: Core/TsFile
> Affects Versions: 0.10.1, 0.12.0, 0.11.3
> Reporter: Zesong Sun
> Assignee: Zesong Sun
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.11.4, 0.12.1, 0.13.0
>
>
> When querying non-exist device, getMetadataAndEndOffset() may give a wrong result.
> For example, this method may present results.
> {code}
> Iterator<Map<String, List<ChunkMetadata>>> iterator =
> fileReader.getMeasurementChunkMetadataListMapIterator("dd");
> Assert.assertFalse(iterator.hasNext());
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)