Merge branch 'cassandra-2.1' into trunk

This commit is contained in:
Yuki Morishita 2015-05-01 16:56:37 -05:00
commit bbc796dfd0
2 changed files with 8 additions and 0 deletions

View File

@ -114,6 +114,7 @@ Merged from 2.0:
* Disable single sstable tombstone compactions for DTCS by default (CASSANDRA-9234)
* IncomingTcpConnection thread is not named (CASSANDRA-9262)
* Close incoming connections when MessagingService is stopped (CASSANDRA-9238)
* Fix streaming hang when retrying (CASSANDRA-9132)
2.1.5

View File

@ -47,9 +47,16 @@ public class IncomingFileMessage extends StreamMessage
{
return new IncomingFileMessage(reader.read(in), header);
}
catch (IOException eof)
{
// Reading from remote failed(i.e. reached EOF before reading expected length of data).
// This can be caused by network/node failure thus we are not retrying
throw eof;
}
catch (Throwable t)
{
JVMStabilityInspector.inspectThrowable(t);
// Otherwise, we can retry
session.doRetry(header, t);
return null;
}