Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-305

We need to be able to only 'refresh' the virtual states of a JCR session

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Session refreshes are quite expensive in a clustered environment. At the same time, the only way to flush virtual states from a jcr session (without calling save()) is a session#refresh

      The HST uses session pools, which can contains tens to hundreds of jcr sessions. These session mainly contain virtual states.

      After any change below /content, the only thing the HST can do is refresh all its sessions in its most common session pools. However, it would already be sufficient if it could just flush its virtualstates.

      Hence, we'd like to be able to call something like:

      HippoSession#disposeVirtualStates()

      Then, we just flush the virtual states, which is in general enough for our read only hst session pools afaics

      Attachments

        Issue Links

          Activity

            People

              aschrijvers Ard Schrijvers
              aschrijvers Ard Schrijvers
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: