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/31 13:21:02 UTC
[jira] [Resolved] (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 ]
Vikas Saurabh resolved OAK-6503.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.7.5
Fixed in trunk at [r1803532|https://svn.apache.org/r1803532].
> 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.5
>
>
> {{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)