void-ptr974 opened a new pull request, #4837: URL: https://github.com/apache/bookkeeper/pull/4837
## Motivation Allow operators to stop an in-flight manually triggered entry-location index RocksDB compaction. ## Changes - Add a DELETE endpoint for requesting cancellation, optionally scoped with `entryLocations`. - Initialize and use RocksDB `CompactRangeOptions` cancellation before starting `CompactRange`; handle RocksDB `Incomplete`/`Aborted` statuses as normal index-compaction cancellation. - Log the request and the completed cancellation, document asynchronous GET confirmation, and add cancellation coverage. ## Testing - `mvn -q -pl bookkeeper-server -Dtest=KeyValueStorageRocksDBTest,EntryLocationIndexTest,TestHttpService#testTriggerEntryLocationCompactService test` - Validated on home3 Linux. -- 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]
