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

BlobStore should be AutoCloseable

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.22.0
    • Component/s: blob

      Description

      DocumentNodeStore currently calls close() if the blob store instance implements Closeable.

      This has led to problems where wrapper implementations did not implement it, and thus the actual blob store instance wasn't properly shut down.

      Proposal: make BlobStore extend Closeable and get rid of all instanceof checks.

      Thomas Mueller Amit Jain - feedback appreciated.

        Attachments

        1. OAK-5787.diff
          8 kB
          Julian Reschke

          Issue Links

            Activity

              People

              • Assignee:
                reschke Julian Reschke
                Reporter:
                reschke Julian Reschke
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: