surekhasaharan commented on a change in pull request #7494: API to drop data by
interval
URL: https://github.com/apache/incubator-druid/pull/7494#discussion_r277101521
##########
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:
if both are supplied, API returns an error `BAD_REQUEST`, will update docs.
Good point about inclusive/exclusive interval, how about [start, end), where
start is inclusive and end is exclusive , is there a different convention with
other Druid APIs, I couldn't find anything mentioned. This also needs to go in
proposal i think.
----------------------------------------------------------------
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]