Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-4779

Proper use of connector dispose()

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 5.0
    • Component/s: None
    • Labels:
      None

      Description

      ConnId facade dispose() method was introduced in midPoint 3.9. However, we cannot fully use it. Attempt to dispose of a connector when resource version changed failed. We cannot dispose connector like this as there may be a long connector operation running (e.g. reconciliation search). This will ruin the search even if there is any minor update to a resource.

      Smarter solution could be possible, but it would be difficult as connid connectors are pretty much singletons.

      Maybe we need to explicitly dispose the connector only when connection is tested (already done) or if resource is re-imported. We may live with the disruption in that case. However, supporting the import case in cluster-wide environment would require cluster-wide change notification for resources.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              semancik Radovan Semancik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: