thrift_client
thrift_client copied to clipboard
A Thrift client wrapper that encapsulates some common failover behavior
I installed thrift_client gem as a dependency of other gems, and the other gem complaint that it can't find thrift_client. After dig into the code, it turns out that thrift_client...
The underlying `thrift` Ruby library raises `TransportException` under a variety of circumstances: From thrift's [socket.rb](https://github.com/apache/thrift/blob/master/lib/rb/lib/thrift/transport/socket.rb): ``` raise TransportException.new(TransportException::NOT_OPEN, "Connection timeout to #{@desc}") raise TransportException.new(TransportException::NOT_OPEN, "Could not connect to #{@desc}: #{e}")...
When the `retries` option is non-zero, an exception thrown on the server results in the client incorrectly throwing a `NoServersAvailable` exception instead of the correct exception. With `retries` set to...
Hi, i've update thrift to 0.9.0 and thrift_client to 0.9.1 version and sometimes i get "No live servers in" exception with replication factor 2 and consistency ONE. My cassandra version...
Not sure which component is at fault here, but inspecting the exception raised to the cassandra gem when an operation fails gives: ``` # ``` There does not appear to...
Hello All, I wonder if we have a plan to handle this case: AbstractThriftClient reads the Thrift IDL and generate the methods dynamically. When an IDL's method conflicts with the...
Hello, Recently I was trying to run version 0.8.2 to connect to scribe, after a few hours I noticed that the connection dies (seemingly on the ruby end) and results...
I am using active_column (https://github.com/carbonfive/active_column) to manage migrations for my cassandra database and I recently ran into problems running the migrations for an empty database. The migrations failed at random...