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

Active deletion of blobs should have larger queue for blobs being deleted

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.7.2, 1.8.0
    • lucene
    • None

    Description

      At times (say during reindexing) a bunch of blobs get deleted which overwhelm currently hard-coded queue length of 1000 (this size should be ok for normal operations).

      We should switch the queue to LinkedBlockingQueue with larger size (say 100k). We don't use any operations which should be expensive on LinkedQueue (v/s ArrayQueue). And ArrayQueue reserves all the space up-front so that's not a good idea anyway.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: