Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-23394

Allow ability to disable flushing of the session invoked by the session in view filter

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Answered
    • None
    • None
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      Add the ability to control whether the session should be flushed, by adding a check against the FlushMode of the session.
      For requests that perform read-only operations (such as Session.get() and Session.find()) against the database, flushing is unnecessary.

      Flushing does a dirty check against all objects attached to the session and attempts a synchronization with the database if necessary.
      This can be potentially very expensive as more objects are loaded into the session. It can also cause hibernate to
      acquire locks on the database for objects attached to the session that the client had absolutely no intention to change.

      Attachments

        Issue Links

          Activity

            People

              dave@atlassian.com dave (Inactive)
              dave@atlassian.com dave (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: