symious opened a new pull request #3082:
URL: https://github.com/apache/ozone/pull/3082


   ## What changes were proposed in this pull request?
   
   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.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-6312
   
   ## How was this patch tested?
   
   unit test.
   


-- 
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]

Reply via email to