Uploaded image for project: 'InsightEdge Platform'
  1. GS-13592

"DataIterator" close method should be invoked when iteration is ended in SynchronizationStorageAdapter

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects versions: None
    • Fix versions: None
    • Labels:
      None
    • Platform:
      All
    • SalesForce Case ID:
      11937
    • Sprint:
    • Product:
      XAP
    • Edition:
      Open Source

      Description

      Customer extended SpaceDataSource And implemented a "DataIterator" which is using connection pool. which is closed in close method.
      The "SynchronizationStorageAdapter" class (in method "initialLoad") uses "initialMetadataLoad" which gets the "metadataIterator", iterates through it and does not invoke the "close" method of DatadIterator after hasNext return false. So in this case connection is not freed as expected.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ester Ester Atzmon
              Participants of an issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: