You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Zhong Wang (Jira)" <ji...@apache.org> on 2021/11/29 03:38:00 UTC

[jira] [Assigned] (IOTDB-2010) Show timeseries produces incomplete result

     [ https://issues.apache.org/jira/browse/IOTDB-2010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhong Wang reassigned IOTDB-2010:
---------------------------------

    Assignee: Zhong Wang

> Show timeseries produces incomplete result
> ------------------------------------------
>
>                 Key: IOTDB-2010
>                 URL: https://issues.apache.org/jira/browse/IOTDB-2010
>             Project: Apache IoTDB
>          Issue Type: Bug
>            Reporter: Zhong Wang
>            Assignee: Zhong Wang
>            Priority: Major
>              Labels: pull-request-available
>
> In cluster mode, exceptions are omitted when getting the metadata of time series, which results in incomplete results.
> In CMManager#showTimeseries:
> {code:java}
>     List<Future<Void>> futureList = new ArrayList<>();
>     for (PartitionGroup group : globalGroups) {
>       futureList.add(
>           pool.submit(
>               () -> {
>                 try {
>                   showTimeseries(group, plan, resultSet, context);
>                 } catch (CheckConsistencyException | MetadataException e) {
>                   logger.error("Cannot get show timeseries result of {} from {}", plan, group);
>                 }
>                 return null;
>               }));
>     }
> {code}
> A better way is to throw the exception if it cannot be handled by the system.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)