Please sign in to comment.
Let the pool retry TTransportException instead of the general TException
With the c11 thrift API update, all exceptions in ttypes inherit from TException instead of Exception. This change restores the old behavior and does not retry any of: NotFoundException, InvalidRequestException, AuthenticationException, AuthorizationException, SchemaDisagreementException Compared to pycassa 1.6.0 TProtocolException is no longer retried either.
- Loading branch information...
Showing with 19 additions and 1 deletion.