helix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Massimo Calderoni <mcalder...@vmware.com>
Subject state model with variable number of partitions
Date Thu, 21 Feb 2013 05:03:02 GMT


Hi, 
was not able to find an answer to this question: 
with Helix, is it possible to have a state model where partitions are variable in number?


If it is, are there any examples? 


Read the previous post talking about AUTO and examples like BaseStageTest, but they don't
seem to address a system with varying partitions. 
In playing with code, seems like partitions must be established upfront: once StateModelDef
is defined partitions are frozen. 


What i am trying to get to is a DDS that adds a partition as a node gets added, much like
in system using consistent hashing: the node that gets added also adds a new master partition,
that is, every node has one master partition. 


Max 




Mime
View raw message