cassandra-pr mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From michaelsembwever <...@git.apache.org>
Subject [GitHub] cassandra pull request #245: [CASSANDRA-12926] - rejected execution exceptio...
Date Wed, 08 Aug 2018 21:11:52 GMT
Github user michaelsembwever commented on a diff in the pull request:

    https://github.com/apache/cassandra/pull/245#discussion_r208737383
  
    --- Diff: src/java/org/apache/cassandra/repair/SnapshotTask.java ---
    @@ -77,7 +77,10 @@ public void response(MessageIn msg)
             public void onFailure(InetAddressAndPort from, RequestFailureReason failureReason)
             {
                 //listener.failedSnapshot();
    -            task.setException(new RuntimeException("Could not create snapshot at " +
from));
    +            if (!task.isDone())
    +            {
    +                task.setException(new RuntimeException("Could not create snapshot at
" + from));
    +            }
    --- End diff --
    
    (test for INFRA-16879 .please ignore)


---

---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Mime
View raw message