kfaraz commented on code in PR #17641: URL: https://github.com/apache/druid/pull/17641#discussion_r1935026220
########## docs/release-info/release-notes.md: ########## @@ -53,10 +53,67 @@ If your release note contains images, put the images in the release-info/assets For tips about how to write a good release note, see [Release notes](https://github.com/apache/druid/blob/master/CONTRIBUTING.md#release-notes). --> -## Important features, changes, and deprecations +## Important features This section contains important information about new and existing features. +### New Overlord APIs + +APIs for marking segments as used or unused have been moved from the Coordinator to the Overlord service: + +- Mark all segments of a datasource as unused: +`POST /druid/indexer/v1/datasources/{dataSourceName}` + +- Mark all (non-overshadowed) segments of a datasource as used: +`DELETE /druid/indexer/v1/datasources/{dataSourceName}` + +- Mark multiple segments as used +`POST /druid/indexer/v1/datasources/{dataSourceName}/markUsed` +- Mark multiple (non-overshadowed) segments as unused +`POST /druid/indexer/v1/datasources/{dataSourceName}/markUnused` + +- Mark a single segment as used: +`POST /druid/indexer/v1/datasources/{dataSourceName}/segments/{segmentId}` + +- Mark a single segment as unused: +`DELETE /druid/indexer/v1/datasources/{dataSourceName}/segments/{segmentId}` + +As part of this change, the corresponding Coordinator APIs are now deprecated: Review Comment: ```suggestion As part of this change, the corresponding Coordinator APIs have been deprecated and will be removed in a future release: ``` -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
