Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix repair hanging silently on an unexpected error

patch by yukim; reviewed by slebresne for CASSANDRA-5229
  • Loading branch information...
commit 45e6d912cca3de66a3af02e9df2c3484992d0a2e 1 parent 0637b86
@pcmanus pcmanus authored
View
1  CHANGES.txt
@@ -20,6 +20,7 @@
(CASSANDRA-5531)
* cqlsh: add CLUSTERING ORDER BY support to DESCRIBE (CASSANDRA-5528)
* Add custom secondary index support to CQL3 (CASSANDRA-5484)
+ * Fix repair hanging silently on unexpected error (CASSANDRA-5229)
Merged from 1.1
* Add retry mechanism to OTC for non-droppable_verbs (CASSANDRA-5393)
* Use allocator information to improve memtable memory usage estimate
View
6 src/java/org/apache/cassandra/streaming/IncomingStreamReader.java
@@ -127,6 +127,12 @@ public void read() throws IOException
retry();
throw ex;
}
+ catch (RuntimeException e)
+ {
+ // if we encountered unexpected exception, fail this session
+ session.close(false);
+ throw e;
+ }
}
session.closeIfFinished();
Please sign in to comment.
Something went wrong with that request. Please try again.