[
https://issues.apache.org/jira/browse/HDDS-6312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Siyao Meng resolved HDDS-6312.
------------------------------
Fix Version/s: 1.3.0
Resolution: Fixed
> Recon took too much time to delete records in ContainerKeyPrefix Table
> ----------------------------------------------------------------------
>
> Key: HDDS-6312
> URL: https://issues.apache.org/jira/browse/HDDS-6312
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Janus Chow
> Assignee: Janus Chow
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.3.0
>
>
> Recon stores the mapping of ContainerKeyPrefix in local RocksDB. When Recon
> is applying DELETE or UPDATE events from OM, it will run search the whole
> table for each to_be_deleted record.
> In a big cluster, the record count in this table could be very large, and the
> search loop for each records is very slow. In our cluster there are 90m
> records, each loop cost over 70 seconds, if a delta OM events have 100 DELETE
> or UPDATE events, it will took about two hours to apply these updates.
>
> This ticket is to accelerate the process with the help of a new local table.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]