Skip to content

Commit

Permalink
Fix repair hanging silently on an unexpected error
Browse files Browse the repository at this point in the history
patch by yukim; reviewed by slebresne for CASSANDRA-5229
  • Loading branch information
Sylvain Lebresne committed May 6, 2013
1 parent 0637b86 commit 45e6d91
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.txt
Expand Up @@ -20,6 +20,7 @@
(CASSANDRA-5531) (CASSANDRA-5531)
* cqlsh: add CLUSTERING ORDER BY support to DESCRIBE (CASSANDRA-5528) * cqlsh: add CLUSTERING ORDER BY support to DESCRIBE (CASSANDRA-5528)
* Add custom secondary index support to CQL3 (CASSANDRA-5484) * Add custom secondary index support to CQL3 (CASSANDRA-5484)
* Fix repair hanging silently on unexpected error (CASSANDRA-5229)
Merged from 1.1 Merged from 1.1
* Add retry mechanism to OTC for non-droppable_verbs (CASSANDRA-5393) * Add retry mechanism to OTC for non-droppable_verbs (CASSANDRA-5393)
* Use allocator information to improve memtable memory usage estimate * Use allocator information to improve memtable memory usage estimate
Expand Down
Expand Up @@ -127,6 +127,12 @@ public void read() throws IOException
retry(); retry();
throw ex; throw ex;
} }
catch (RuntimeException e)
{
// if we encountered unexpected exception, fail this session
session.close(false);
throw e;
}
} }


session.closeIfFinished(); session.closeIfFinished();
Expand Down

0 comments on commit 45e6d91

Please sign in to comment.