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. >
