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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.7.6, 1.8.0
    • Component/s: lucene
    • Labels:
      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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: