jihoonson commented on a change in pull request #6676: Handoff should ignore
segments that are dropped by drop rules
URL: https://github.com/apache/incubator-druid/pull/6676#discussion_r244857837
##########
File path:
server/src/main/java/org/apache/druid/server/http/DatasourcesResource.java
##########
@@ -647,4 +655,80 @@ public Response getSegmentDataSourceSpecificInterval(
);
return Response.ok(retval).build();
}
+
+ @GET
+ @Path("/{dataSourceName}/handoffComplete")
+ @Produces(MediaType.APPLICATION_JSON)
+ @ResourceFilters(DatasourceResourceFilter.class)
+ public Response isHandOffComplete(
Review comment:
So, it returns `true` when the segment will be never loaded or is already
loaded. Otherwise, it returns `false. Would you add a javadoc about this?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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]