dampcake commented on a change in pull request #7494: API to drop data by 
interval
URL: https://github.com/apache/incubator-druid/pull/7494#discussion_r277408685
 
 

 ##########
 File path: docs/content/operations/api-reference.md
 ##########
 @@ -230,6 +230,20 @@ Enables all segments of datasource which are not 
overshadowed by others.
 
 Enables a segment of a datasource.
 
+##### PUT
+
+* `/druid/coordinator/v1/datasources/{dataSourceName}/markUnused`
+
+Marks segments unused for a datasource by interval or set of segment Ids. The 
request payload contains the interval or set of segment Ids to be marked unused.
 
 Review comment:
   It looks like it uses Joda contains in all the other interval based API's. 
It looks like it should be inclusive of the end in this case: 
https://www.joda.org/joda-time/apidocs/org/joda/time/base/AbstractInterval.html#contains-org.joda.time.ReadableInterval-

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