You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by michaelsembwever <gi...@git.apache.org> on 2018/08/08 07:49:10 UTC

[GitHub] cassandra pull request #245: [CASSANDRA-12926] - rejected execution exceptio...

Github user michaelsembwever commented on a diff in the pull request:

    https://github.com/apache/cassandra/pull/245#discussion_r208486203
  
    --- 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