Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- is a child of
-
IOTDB-68 IoTDB supports distributed version
- Open