helix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neutron sharc <neutronsh...@gmail.com>
Subject Re: can a state transition fail?
Date Wed, 20 Apr 2016 01:36:18 GMT
Thanks for your quick reply Kishore!

On Tue, Apr 19, 2016 at 5:22 PM, kishore g <g.kishore@gmail.com> wrote:
> 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>
> wrote:
>> 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