Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added limit on how long client pool can be exhausted

  • Loading branch information...
commit e738a85e89931490d7cf277727a1b57ed400341a 1 parent 31cbcc3
@shaunkalley shaunkalley authored
View
2  core/src/main/java/me/prettyprint/cassandra/connection/HConnectionManager.java
@@ -277,8 +277,8 @@ public void operateWithFailover(Operation<?> op) throws HectorException {
if (hostPools.isEmpty()) {
throw he;
}
- retryable = op.failoverPolicy.shouldRetryFor(HPoolExhaustedException.class);
excludeHosts.add(pool.getCassandraHost());
+ retryable = op.failoverPolicy.shouldRetryFor(HPoolExhaustedException.class);
monitor.incCounter(Counter.POOL_EXHAUSTED);
}
} else if ( he instanceof HPoolRecoverableException ) {
Please sign in to comment.
Something went wrong with that request. Please try again.