Hi There,

I am using FULL_AUTO with MasterSlave and DelayedAutoRebalancer. How can a
participant differentiate between these two cases:

1) when a participant first joins a cluster, it will be requested to
transit from OFFLINE to SLAVE. Since the participant doesn't have any data
for this partition, it needs to bootstrap and download data from another
participant or a data source.
2) when a participant loses its ZK session, the controller will
automatically change the participant to be OFFLINE in ZK. If the
participant manages to establish a new session to ZK before the delayed
time threshold, the controller will send a request to it to switch from
OFFLINE to SLAVE. In this case, the participant already has the data for
the partition, so it doesn't need to bootstrap from other data sources.

-- 
Best regards,
Bo

Reply via email to