[
https://issues.apache.org/jira/browse/IOTDB-896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17211610#comment-17211610
]
Houliang Qi commented on IOTDB-896:
-----------------------------------
Hi,dose the bug fixed?
> [Distributed] Fail to Insert Nonexistent Timeseries
> ---------------------------------------------------
>
> Key: IOTDB-896
> URL: https://issues.apache.org/jira/browse/IOTDB-896
> Project: Apache IoTDB
> Issue Type: Bug
> Reporter: Yuyuan KANG
> Assignee: Yuyuan KANG
> Priority: Major
>
> *Problem Description:*
> SessionExample.java fails to run successfully. It seems blocked when tablets
> are inserted, i.e., when insertTablets() method is running.
>
> *Problem Analysis:*
> A coordinator receives insert request from client and forwards it to a remote
> data group. The data group leader cannot find the measurements. The
> measurement is marked null if the path does not exist. It will pull
> timeseries schemas and insert again, which is implemented in
> Raftmember.handleLogExecutionException(), but with failed measurements being
> null. With these null measurements, PlanExecutor will throw a
> NullPointerException, which is not caught by the system. AsyncDataLogApplier
> will not catch this exception, and it will not set the log as applied, in
> method applyInternal(Log log). As a consequence, it seems the log is never
> applied, which blocks the queue.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)