helix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kishore g <g.kish...@gmail.com>
Subject Re: can a state transition fail?
Date Wed, 20 Apr 2016 00:22:21 GMT
Throw an exception, the replica will go into ERROR state and will be
reflected in ExternalView. Another way is to disable that replica on that
instance. Controller can use this to assign the replica to another node

On Tue, Apr 19, 2016 at 4:36 PM, Neutron sharc <neutronsharc@gmail.com>

> Hi Helix team,
> Can I declare a failure within state transition handler?  For example,
> when controller decides to transit from OFFLINE TO SLAVE,  I need to
> allocate some storage space and start the slave.  However this can
> fail because of insufficient free space.   How to tell controller that
> the state transition failed?  The handler is of type void.
> Thanks.

View raw message