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/15 09:03:00 UTC

[jira] [Assigned] (IOTDB-2009) Previous filling produces incorrect result

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

Zhong Wang reassigned IOTDB-2009:
---------------------------------

    Assignee: Zhong Wang

> Previous filling produces incorrect result
> ------------------------------------------
>
>                 Key: IOTDB-2009
>                 URL: https://issues.apache.org/jira/browse/IOTDB-2009
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Cluster
>            Reporter: Zhong Wang
>            Assignee: Zhong Wang
>            Priority: Major
>
> In cluster mode, exceptions that happen when fetching the latest data point are omitted.
> For example, in ClusterPreviousFill#configureFill:
> {code:java}
>   @Override
>   public void configureFill(
>       PartialPath path,
>       TSDataType dataType,
>       long queryTime,
>       Set<String> deviceMeasurements,
>       QueryContext context) {
>     try {
>       fillResult =
>           performPreviousFill(
>               path, dataType, queryTime, getBeforeRange(), deviceMeasurements, context);
>     } catch (StorageEngineException e) {
>       logger.error("Failed to configure previous fill for Path {}", path, e);
>     }
>   }
> {code}
> Thus, the returned result may not be the latest data point. The correct way is to throw the exception if the system is not able to handle it.



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