Thanks for your quick reply Kishore!

On Tue, Apr 19, 2016 at 5:22 PM, kishore g <[email protected]> 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 <[email protected]>
> 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.
>
>

Reply via email to