[
https://issues.apache.org/jira/browse/HDDS-11658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
GuoHao updated HDDS-11658:
--------------------------
Description:
KeyDeletingService, iterate several records from scratch each time, send
deletion requests, and then delete these records.
If each iteration starts from scratch, Rocksdb will also include the recently
deleted tombstone data in the scan.
The optimization is to optimize the iteration strategy, record breakpoints for
each iteration, skip known tombstones, and reset breakpoints if errors occur
during the iteration or if the endpoint is reached.
> Skip known tombstones when scanning rocksdb deletedtable in KeyDeletingService
> ------------------------------------------------------------------------------
>
> Key: HDDS-11658
> URL: https://issues.apache.org/jira/browse/HDDS-11658
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: GuoHao
> Assignee: GuoHao
> Priority: Major
> Labels: pull-request-available
>
> KeyDeletingService, iterate several records from scratch each time, send
> deletion requests, and then delete these records.
> If each iteration starts from scratch, Rocksdb will also include the recently
> deleted tombstone data in the scan.
> The optimization is to optimize the iteration strategy, record breakpoints
> for each iteration, skip known tombstones, and reset breakpoints if errors
> occur during the iteration or if the endpoint is reached.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]