Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6503

Active deletion of blobs tries to delete sub-16k inlined blobs in case of seg-tar

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7.1
    • 1.7.6, 1.8.0
    • lucene
    • None

    Description

      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

                          String blobId = b.getContentIdentity();
                          if (blobId == null) {
                              blobId = b.toString();
                          }
                          blobDeletionCallback.deleted(blobId,
                                  Lists.newArrayList(definition.getIndexPath(), dataNodeName, name));
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            catholicon Vikas Saurabh
            catholicon Vikas Saurabh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment