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

Emmanuel Cecchet commented on SEQUOIA-918:
------------------------------------------

I think that the idea is that there is no ping message anymore, it is replaced 
by the discovery message. 
The answer could contain the address where the client is supposed to connect to.
Example a la ARP:
Client multicasts to 224.0.0.1 (all hosts) 'who has vdb myVdb, tell 
client-ip-address:port'
Each controller who has myVdb can send to client-ip-address:port 
'controller-ip:controller-port has myVdb'

Another solution is also to multicast the responses so that both other 
controllers and all clients can listen to these notifications and update their 
tables.
A controller that must be shutdown could then intentionally stop responding to 
such requests.
If we had open groups, clients could also directly query the group 
communication GMS but that would require some part of the GCS libraries in the 
client driver.

> 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