jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Jain (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3750) Add a batch delete method for the data stores.
Date Tue, 18 Mar 2014 05:58:42 GMT
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

View raw message