You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Vikas Saurabh (JIRA)" <ji...@apache.org> on 2017/07/28 10:07:02 UTC

[jira] [Created] (OAK-6503) Active deletion of blobs tries to delete sub-16k inlined blobs in case of seg-tar

Vikas Saurabh created OAK-6503:
----------------------------------

             Summary: Active deletion of blobs tries to delete sub-16k inlined blobs in case of seg-tar
                 Key: OAK-6503
                 URL: https://issues.apache.org/jira/browse/OAK-6503
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: lucene
    Affects Versions: 1.7.1
            Reporter: Vikas Saurabh
            Assignee: Vikas Saurabh
            Priority: Minor


{{OakDirectory#deleteFile}} registers a blob as deleted for actively purged even if {{blob.getContentIdentity}} is null \[0]. That leads to active purge trying to purge an inlined blob and hitting a bening warn in the log (and of course a perf issue to "find" that the blob couldn't really be purged)

\[0]:
https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.7.1/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/OakDirectory.java#L168-L173
{code}
                    String blobId = b.getContentIdentity();
                    if (blobId == null) {
                        blobId = b.toString();
                    }
                    blobDeletionCallback.deleted(blobId,
                            Lists.newArrayList(definition.getIndexPath(), dataNodeName, name));
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)