You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Amit Jain (JIRA)" <ji...@apache.org> on 2014/03/18 06:58:42 UTC

[jira] [Created] (JCR-3750) Add a batch delete method for the data stores.

Amit Jain created JCR-3750:
------------------------------

             Summary: Add a batch delete method for the data stores.
                 Key: JCR-3750
                 URL: https://issues.apache.org/jira/browse/JCR-3750
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-data
    Affects Versions: 2.7.5
            Reporter: Amit Jain


Currently, MutiDataStoreAware exposes a {code}deleteRecord(DataIdentifier identifier){code} method to delete a blob given an id. 
The proposal is to add a new delete method which can take in a batch of ids and take advantage of the underlying backends capability to delete in batches (if supported). Backends like S3 and DB can handle batch delete.

This will help in delete performance when a large number of deletes are to happen for ex. during garbage collection.



--
This message was sent by Atlassian JIRA
(v6.2#6252)