mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-2.1' into trunk
This commit is contained in:
commit
bbc796dfd0
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue