Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3870

S3 bitstore leaves connections to AWS open

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.2
    • Fix Version/s: 6.3
    • Component/s: XMLUI
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      3
    • Documentation Status:
      Not Required

      Description

      When using the S3 assetstore in DSpace, connections to S3 are in some cases opened, but never closed.
      The line https://github.com/DSpace/DSpace/blob/dspace-6.2/dspace-xmlui/src/main/java/org/dspace/app/xmlui/cocoon/BitstreamReader.java#L399 will open a connection to S3, and the line https://github.com/DSpace/DSpace/blob/dspace-6.2/dspace-xmlui/src/main/java/org/dspace/app/xmlui/cocoon/BitstreamReader.java#L757 will close the connection.

      The close command however doesn't occur for some situations such as https://github.com/DSpace/DSpace/blob/dspace-6.2/dspace-xmlui/src/main/java/org/dspace/app/xmlui/cocoon/BitstreamReader.java#L618

      The impact on the local assetstore when opening connections and not closing them has not been verified yet

      We're working on a solution for this problem

        Attachments

          Activity

            People

            • Assignee:
              benbosman Ben Bosman
              Reporter:
              benbosman Ben Bosman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: