Hi G Almeida
Thanks for posting.
inline responses.
glassfish_at_javadesktop.org wrote:
> Hi, I have a 3 node cluster with in-memory session replication working:
>
> Node A, Node B and Node C:
> A stores its backup for session data on node B
> B on C
> C on A.
>
> I was running some tests and found the following scenarios:
>
> [b]first scenario[/b]:
> 1.1. user is accessing an application through node A
> 1.2. node A goes down!
> 1.3. load balancer redirects the user to node [b]C[/b]
> 1.4. node C obtains the session from node B
> 1.5. user continues to use the application through node C
> 1.6. node C goes down!
> 1.7. load balancer redirects the user to node B
> 1.8. user continues to use the application through node B
>
So here, things work as expected.
> [b]second scenario[/b]:
> 2.1. user is accessing an application through node A
> 2.2. node A goes down!
> 2.3. load balancer redirects the user to node [b]B[/b]
> 2.4. node B already has user session data.
> 2.5. user continues to use the application through node B
> 2.6. node B goes down!
> 2.7. load balancer redirects the user to node C
> 2.8. user lose its session!
>
>
> Questions:
>
> About [b]second[/b] scenario:
> Q1: When node B goes down and user is redirected to node C the session is lost, is it expected?
>
This appears to be a bug.
We can check with our QE test cases to see if this can be reproduced.
> About [b]both[/b] scenarios:
> Q2: When node A goes down does node B's copy of user session becomes the "master copy"?
It should.
> If so, does node B automatically creates/sends a backup copy on/to node C?
>
Yes.
Just to confirm, you are not running this test under any load and can be
reproduced with a few sessions, right?
> Thank you.
>
> glassfish version: 2.1.1-b20
> [Message sent by forum member 'galmeida' (galmeida)]
>
> http://forums.java.net/jive/thread.jspa?messageID=357424
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>