jon-wei commented on a change in pull request #8870: Additional Kinesis 
resharding fixes
URL: https://github.com/apache/incubator-druid/pull/8870#discussion_r350567066
 
 

 ##########
 File path: 
indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/SeekableStreamIndexTaskRunner.java
 ##########
 @@ -1351,6 +1375,29 @@ protected void sendResetRequestAndWait(
     }
   }
 
+  protected void sendClosedShardsAndWait(
+      Set<PartitionIdType> closedShards,
+      TaskToolbox taskToolbox
+  )
+      throws IOException
+  {
+    log.info("Closing shards: " + closedShards);
+    boolean result = taskToolbox
+        .getTaskActionClient()
+        .submit(
+            new SeekableStreamPartitionsClosedNotifyAction(
+                task.getDataSource(),
+                (Set<String>) closedShards
+            )
+        );
+
+    log.info("Send closed shards result: " + result);
+    if (result) {
 
 Review comment:
   This area has been removed, the metadata commit is now handled in the main 
publishing logic
   
   

----------------------------------------------------------------
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]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to