mirror of https://github.com/apache/cassandra
retry failed stream on IOException
patch by yukim; reviewed by jbellis for CASSANDRA-3686
This commit is contained in:
parent
02346a1e6a
commit
7efab48e72
|
|
@ -1,4 +1,5 @@
|
|||
1.0.7
|
||||
* retry failed stream on IOException (CASSANDRA-3686)
|
||||
* allow configuring bloom_filter_fp_chance (CASSANDRA-3497)
|
||||
* attempt hint delivery every ten minutes, or when failure detector
|
||||
notifies us that a node is back up, whichever comes first. hint
|
||||
|
|
|
|||
|
|
@ -158,7 +158,10 @@ public class IncomingStreamReader
|
|||
catch (Exception e)
|
||||
{
|
||||
writer.abort();
|
||||
throw FBUtilities.unchecked(e);
|
||||
if (e instanceof IOException)
|
||||
throw (IOException) e;
|
||||
else
|
||||
throw FBUtilities.unchecked(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue