retry failed stream on IOException

patch by yukim; reviewed by jbellis for CASSANDRA-3686
This commit is contained in:
Jonathan Ellis 2011-12-30 23:04:43 -06:00
parent 02346a1e6a
commit 7efab48e72
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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);
}
}