Hi, Imran You can simply throw out an exception from your M->S state transition, then Helix will mark it as ERROR.
Lei On Fri, Jun 12, 2020 at 4:41 AM Imran S. Shah <[email protected]> wrote: > Hello > > I have implemented a standard Master-Slave model. Now let's say my > partitions are in Master state, but however due to some errors (out of disk > space for a particular partition on the participant), I would like the > participant to transition the state to error. However, looking at the > documentation it doesn't look like there is a method that I could call. > Updating the state on the model just updates the local variable and doesn't > notify the controller. > > Any pointers or examples would be appreciated. > > Thanks, > Imran > -- Lei Xia
