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 08:48:00 UTC
[jira] [Created] (IOTDB-2009) Previous filling produces incorrect result
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)