[ 
https://forge.continuent.org/jira/browse/SEQUOIA-918?page=comments#action_14600 
] 

Gilles Rayrat commented on SEQUOIA-918:
---------------------------------------

Not sure this will work:
ping mechanism has been introduced to cover the "timeout cases", eg. where the 
network cable between client and controller is unplugged.
In this case, you will not receive any notification from the tcp stack, you 
will have to wait tcp timeouts that can be very long (reducing them manually is 
not an option)
The multicast could work in this case only if these messages are sent very 
frequently, in a very reliable manner. This way, when the client sees no 
multicast message from controller A during more than 25s, it will failover to 
other available ones.

> Driver pinger may break in configuration with multiple interfaces
> -----------------------------------------------------------------
>
>          Key: SEQUOIA-918
>          URL: https://forge.continuent.org/jira/browse/SEQUOIA-918
>      Project: Sequoia
>         Type: Bug

>   Components: JDBC Driver
>     Versions: Sequoia 2.10.4, Sequoia 3.0 beta3, Sequoia 2.10.5, Sequoia 
> 2.10.6, Sequoia 2.10.3
>     Reporter: Marc Herbert
>     Assignee: Gilles Rayrat

>
>
> The driver pinger currently identifies answering controllers by looking at 
> the source address of the pong answer packet. If the controller has multiple 
> network interfaces, it may return the "Pong" packet using an address unknown 
> to the driver, breaking the ping scheme.
> One fix would be to use UDP on _connected_ sockets. But connected sockets is 
> probably overkill and a resource waste.
> This seems to be a simpler fix: the driver sends a controller ID to the 
> controller, and the controller just returns it. (this controller ID can be 
> private to the driver)
> It should be possible to implement this in a backward compatible way.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to