https://issues.apache.org/bugzilla/show_bug.cgi?id=56698
            Bug ID: 56698
           Summary: Sessions will be backed up too often by
                    PersistentManager
           Product: Tomcat 8
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: felix.schumac...@internetallee.de

Created attachment 31793
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31793&action=edit
Add a flag to PersistentManager whether it will save idle sessions once or
always

The PersistentManager will save every Session which has not been accessed since
maxIdleBackup time on every round.

The attached patch will introduce a flag, so that the admin can decide whether
he wants to have the old behaviour, or the more efficient one of only saving
sessions once, when they were accessed and idle for maxIdleBackup.

The patch gets a lot simpler, if we just change the behaviour and declare the
old one as a bug :)

Tomcat 7 has the same problem and I could provide a patch for it, too.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to