<div dir="ltr">Hello,<div><br></div><div>Recently we've found that break_on property of RetryPolicy is not working now.</div><div><br></div><div>I tried to solve this problem but faced the another problem: How does 'break_on' supposed to work?</div><div><br></div><div>Will 'break_on' change the task state to ERROR or SUCCESS?<br>if ERROR, it means 'we interrupt all retry iterations and keep the state which was before'. </div><div>But if SUCCESS, it means 'we interrupt all retry iterations and assume SUCCESS state from task because we cought this condition'.</div><div><br></div><div>This is ambiguous.</div><div><br></div><div>There is a suggestion to use not just 'break_on' but, say, another, more explicit properties which will delete this ambiguity. For example, 'success_on' and 'error_on'.</div><div><br></div><div>Thoughts?</div><div><div><div><br></div>-----<br><div><div dir="ltr"><div><font>Best Regards,</font></div><div><font>Nikolay</font></div><div><font>@Mirantis Inc.</font></div></div></div>
</div></div></div>