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

Optimize AzureJournalWriter#batchWriteLines()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.44.0
    • 1.46.0
    • segment-azure
    • None

    Description

      The implementation of AzureJournalWriter#batchWriteLines (inside AzureJournalFile) is very inefficient. If the batch size is high, it can take minutes to complete. The issue is that batchWriteLines() simply delegates to writeLine(), which uploads each single line (and metadata) to the blob.

      We should implement {{batchWriteLines() }}by uploading multiple lines in one call.

      Attachments

        Issue Links

          Activity

            People

              miroslav Miroslav Smiljanic
              jelmini Carlo Jelmini
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: