Zhong Wang created IOTDB-2009:
---------------------------------

             Summary: 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


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)

Reply via email to