GitHub user arunmahadevan opened a pull request:

    https://github.com/apache/storm/pull/2003

    STORM-2412: Nimbus isLeader check while waiting for max replication

    While using local FS blob store, nimbus goes into a state where it 
indefinitely waits for max replication (with max replication wait time set to 
-1). At this time its also observed that the nimbus that received the topology 
submission is no longer the leader.
    While waiting for max replication, nimbus can also do the `isLeader` check 
and fail the topology submission if its no longer the leader.
    
    Also added some debug logs to better troubleshoot the race conditions when 
it happens.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/arunmahadevan/storm STORM-2412

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/storm/pull/2003.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 #2003
    
----
commit 12b60c93fab14f2615bba60874d6117cea9978c1
Author: Arun Mahadevan <ar...@apache.org>
Date:   2017-03-13T12:41:13Z

    STORM-2412: Nimbus isLeader check while waiting for max replication
    
    While using local FS blob store, nimbus goes into a state where it 
indefinitely waits for max replication (with max replication wait time set to 
-1). At this time its also observed that the nimbus that received the topology 
submission is no longer the leader.
    While waiting for max replication, nimbus can also do the `isLeader` check 
and fail the topology submission if its no longer the leader.
    
    Also added some debug logs to better troubleshoot the race conditions when 
it happens.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to