You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sumit Agrawal (Jira)" <ji...@apache.org> on 2023/05/11 17:13:00 UTC

[jira] [Created] (HDDS-8599) [snapshot] performance impact for key & directory deleting service

Sumit Agrawal created HDDS-8599:
-----------------------------------

             Summary: [snapshot] performance impact for key & directory deleting service
                 Key: HDDS-8599
                 URL: https://issues.apache.org/jira/browse/HDDS-8599
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Sumit Agrawal


Scenario:
 # Huge number of keys and directories are created in bucket (FSO)
 # Snapshot is taken for the bucket
 # Recursive delete of keys and directory
 # keys and directories are added to deletedTable and deletedDirectoryTable

KeyDeletingService:
 * iterator all keys in deleted Table
 ** if keys are present in snapshot, its skipped
 ** else added for blockGroupList for deletion

DirectoryDeletingService:
 * iterator all directory in deleted directory table
 ** if directory is present in snapshot, its skipped
 ** else perform further action for deletion

So if number of keys and directory are huge, it will keep iterating always to get candidate keys/directory for deletion.

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org