helix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tong Wei <tongwei199...@gmail.com>
Subject Change current state of replicas
Date Thu, 11 Jun 2015 21:42:07 GMT
Hi Kishore,
In our case, each node has multiple disks. We need to maintain a topology of the cluster (nodes,
disks in a node, replica to disk mapping). Now, when a disk of a node goes down (detected
by a thread in participant), I change the current state of replicas on that disk from ONLINE
to OFFLINE, and then update the topology(delete disk) in the onExternViewChangeEvent().
Another questions is that how to manually update the ideal state when those replicas/disks
are unavailable.
Hi Tong,

Were the replicas on a participant deleted manually?. Generally deletion of
replicas are controlled through changes in ideal state. Deleting
replica->server mapping in idealstate will trigger state transitions such
as online-> offline and then offline->dropped.

Can you provide additional info on how you got into this state.

Kishore G

On Wed, Jun 10, 2015 at 11:12 AM, Tong Wei <tongwei199311@gmail.com> wrote:

> How can I change the current state of a participant manually? For example,
> if some replicas on a participant are deleted, do we need to manually
> change the state of the replicas from ONLINE to OFFLINE?

View raw message