You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Mark Thomas <ma...@apache.org> on 2010/07/29 15:02:28 UTC

[PROPOSAL] Definition of active sessions

The current Manager implementations have slightly different definitions
of 'active session' that I would like to make consistent in 7.0.x (and
maybe backport to 6.0.x)

Ignoring expired and invalidated sessions:
- in the StandardManager, all sessions are primary and all are active
- in the DeltaManager, both primary and backup sessions are active
- in the BackupManager, only primary sessions are active. Backup and
proxy sessions are not active

These leads to some inconsistencies such as
https://issues.apache.org/bugzilla/show_bug.cgi?id=49407

As I see it, there are three options to make this consistent:
1. Change DeltaManager so only primary sessions are treated as active
(i.e. no longer treat backup sessions as active)

2. Change BackupManager so that backup sessions are treated as active.

3. Change BackupManager so that backup and proxy sessions are treated as
active.

Other factors are:
- maxActiveSessions uses the active session count to determine if the
limit has been reached
- the manager app allows data active sessions to be viewed, invalidated
or attributes removed


I intend to make the following changes unless there are any objections:
- modify BackupManager to treat backup sessions as active
- list all known sessions in the manager application
- mark sessions as primary, backup or proxy in the manager application
user interface
- only provide session details in the manager application for primary or
backup sessions (i.e. ones where there is already a local copy of the
full session)

Mark



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


Re: [PROPOSAL] Definition of active sessions

Posted by Yoav Shapira <yo...@apache.org>.
On Thu, Jul 29, 2010 at 9:02 AM, Mark Thomas <ma...@apache.org> wrote:
> The current Manager implementations have slightly different definitions
> of 'active session' that I would like to make consistent in 7.0.x (and
> maybe backport to 6.0.x)
<snip />
> I intend to make the following changes unless there are any objections:
> - modify BackupManager to treat backup sessions as active
> - list all known sessions in the manager application
> - mark sessions as primary, backup or proxy in the manager application
> user interface
> - only provide session details in the manager application for primary or
> backup sessions (i.e. ones where there is already a local copy of the
> full session)

+1, sounds good.

Yoav

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


Re: [PROPOSAL] Definition of active sessions

Posted by Keiichi Fujino <kf...@apache.org>.
> I intend to make the following changes unless there are any objections:
> - modify BackupManager to treat backup sessions as active
> - list all known sessions in the manager application
> - mark sessions as primary, backup or proxy in the manager application
> user interface
> - only provide session details in the manager application for primary or
> backup sessions (i.e. ones where there is already a local copy of the
> full session)
>

+1.


-- 
Keiichi.Fujino

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


Re: [PROPOSAL] Definition of active sessions

Posted by Rainer Jung <ra...@kippdata.de>.
On 29.07.2010 15:02, Mark Thomas wrote:
> The current Manager implementations have slightly different definitions
> of 'active session' that I would like to make consistent in 7.0.x (and
> maybe backport to 6.0.x)
>
> Ignoring expired and invalidated sessions:
> - in the StandardManager, all sessions are primary and all are active
> - in the DeltaManager, both primary and backup sessions are active
> - in the BackupManager, only primary sessions are active. Backup and
> proxy sessions are not active
>
> These leads to some inconsistencies such as
> https://issues.apache.org/bugzilla/show_bug.cgi?id=49407
>
> As I see it, there are three options to make this consistent:
> 1. Change DeltaManager so only primary sessions are treated as active
> (i.e. no longer treat backup sessions as active)
>
> 2. Change BackupManager so that backup sessions are treated as active.
>
> 3. Change BackupManager so that backup and proxy sessions are treated as
> active.
>
> Other factors are:
> - maxActiveSessions uses the active session count to determine if the
> limit has been reached
> - the manager app allows data active sessions to be viewed, invalidated
> or attributes removed
>
>
> I intend to make the following changes unless there are any objections:
> - modify BackupManager to treat backup sessions as active
> - list all known sessions in the manager application
> - mark sessions as primary, backup or proxy in the manager application
> user interface
> - only provide session details in the manager application for primary or
> backup sessions (i.e. ones where there is already a local copy of the
> full session)

Sounds perfect!

Regards,

Rainer

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