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 "Amit Jain (JIRA)" <ji...@apache.org> on 2017/08/25 04:30:07 UTC
[jira] [Closed] (OAK-6503) Active deletion of blobs tries to delete
sub-16k inlined blobs in case of seg-tar
[ https://issues.apache.org/jira/browse/OAK-6503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amit Jain closed OAK-6503.
--------------------------
Bulk close for 1.7.6
> 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
> Fix For: 1.8, 1.7.6
>
>
> {{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)