On Fri, Jan 27, 2012 at 2:53 PM, Mircea Markus <mircea.markus(a)jboss.com> wrote:
>> That's true, but it is not a good thing: numVirtNodes
should be proportional
>> with the node's capacity, i.e. more powerful machines in the cluster should
>> have assigned more virtual nodes.
>> This way we can better control the load. A node would need to send its
>> configured numVirtualNodes when joining in order to support this, but that's
>> a thing we already do for TACH.
>>
>
> We should use a different mechanism than the TopologyAwareUUID we use
> for TACH, because the address is sent with every command.
so every command sends cluster, rack and machine info? That's sounds a bit redundant.
Can't we just send them once with the JOIN request?
When RELAY is enabled, it actually needs the topology info in order to
relay messages between sites.
I agree that the topology info should never change, but RELAY requires
it for now so we can't avoid it (in the general case).
Cheers
Dan