This ID is used solely for checking whether a client has the current
view, isn't it ? If so, then a simple ID is sufficient
Galder Zamarreno wrote:
On 12/17/2009 02:45 PM, Bela Ban wrote:
> Correct, but that ID by itself is NOT unique over space& time. I don't
> know though whether you ned this uniqueness...
>
Hmmmm, I don't think the consequences of it not being unique are huge.
Let's say a client has vClient=10 that consists of nodeA and nodeB and
then the server generates a vServer=10 with nodeA, nodeC and nodeD. The
server won't send back the topology but the client will be working
sub-optimally until a new view is generated since it will be sending
everything to the sole remaining node in his view, nodeA. If the new
view had included only nodeE and nodeF (assumming nodeA and nodeB have
been brought down), the client would need to reconnect to a known server
somehow and would start at -1, so it'd get a new topology in first response.
--
Bela Ban
Lead JGroups / Clustering Team
JBoss