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

BlobStore should be AutoCloseable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.22.0
    • blob
    • None

    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.

      thomasm amitjain - feedback appreciated.

      Attachments

        1. OAK-5787.diff
          8 kB
          Julian Reschke

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: