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:35:00 UTC
[jira] [Created] (IOTDB-2010) Show timeseries produces incomplete result
Zhong Wang created IOTDB-2010:
---------------------------------
Summary: 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
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)