GitHub user agresch opened a pull request:

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

    STORM-3117 prevent deleting blobs while topologies still active

    Prevented crashing nimbus if blob is deleted during a getClusterInfo call.  
However, once nimbus is restarted, if there was an active topology with a 
missing blob, nimbus will be stuck validatingAcls and not be able to schedule.
    
    To get around this, I prevented deleting blobs unless a topology is not 
active.  As a bonus, this should also fix race conditions we have seen between 
the scheduling loop and a kill topology occurring with the cleanup thread 
deleting the blobs.


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

    $ git pull https://github.com/agresch/storm agresch_blob_delete

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

    https://github.com/apache/storm/pull/2732.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 #2732
    
----
commit ab25cd38fe9746c1fbf7b6533aaebfec0ab9816d
Author: Aaron Gresch <agresch@...>
Date:   2018-06-21T19:56:19Z

    STORM-3117 prevent deleting blobs while topologies still active

----


---

Reply via email to