Ring-k commented on a change in pull request #1387:
URL: https://github.com/apache/incubator-iotdb/pull/1387#discussion_r444699336



##########
File path: 
cluster/src/main/java/org/apache/iotdb/cluster/server/member/DataGroupMember.java
##########
@@ -1610,6 +1623,34 @@ public void getAggrResult(GetAggrResultRequest request,
     resultHandler.onComplete(resultBuffers);
   }
 
+  /**
+   * Check if the given measurements are registered or not
+   * @param header
+   * @param timeseriesList
+   * @param resultHandler
+   * @throws TException
+   */
+  @Override
+  public void getUnregisteredTimeseries(Node header, List<String> 
timeseriesList,
+      AsyncMethodCallback<List<String>> resultHandler) throws TException {
+    if (!syncLeader()) {

Review comment:
       Thank you for your suggestion. The method 
`syncLeaderWithConsistencyCheck` will be used.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to