[ https://issues.apache.org/jira/browse/STORM-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15181326#comment-15181326 ]
ASF GitHub Bot commented on STORM-1604: --------------------------------------- GitHub user Parth-Brahmbhatt opened a pull request: https://github.com/apache/storm/pull/1188 STORM-1604:Delayed transition should handle NotALeaderException You can merge this pull request into a Git repository by running: $ git pull https://github.com/Parth-Brahmbhatt/incubator-storm STORM-1604 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/storm/pull/1188.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1188 ---- commit b95fcd79cb1c2225cd0816f4e2b6eaaf7a2ffd13 Author: Parth Brahmbhatt <brahmbhatt.pa...@gmail.com> Date: 2016-03-05T00:09:09Z STORM-1604:Delayed transition should handle NotALeaderException ---- > Delayed transition should handle NotALeaderException > ---------------------------------------------------- > > Key: STORM-1604 > URL: https://issues.apache.org/jira/browse/STORM-1604 > Project: Apache Storm > Issue Type: Bug > Components: storm-core > Affects Versions: 1.0.0 > Reporter: Parth Brahmbhatt > Assignee: Parth Brahmbhatt > Fix For: 1.0.0 > > > Currently if an action(kill, rebalance) is scheduled with delay, nimbus > stores the state in zookeeper and then schedules a delayed event to do final > transition. If during this wait time, leader nimbus loses the leadership, > when the delayed operation is executed it receives a NotALeaderException > which it does not handle causing the nimbus to die. We should catch the > exception and ignore it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)