Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1283

Remove Session Pool Support

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JCR Base 2.0.4
    • JCR Base 2.0.6
    • JCR
    • None

    Description

      The Session Pool Support code in the jcr/base bundle has a few issues:

      • Only works with SimpleCredentials authentication
      • Wrong level of abstraction: such optimizations are the task of the repository implementation and not of the user
      • Cleanup of the session for reuse is brittle and timeconsuming (due to a JCR search to ensure unlocking transient locks)
      • Little to no gain in performance (in fact performance is even lower than using plain Jackrabbit Sessions.

      In addition, I suspect session pooling to be responsible for various strange integration test failures (see also SLING-1272).

      Therefore Session Pool support should be removed.

      See also the dev list discussion at http://markmail.org/thread/wiiqs2ym75mpfxcd

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment