incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Satoshi Yamada <>
Subject Re: [gem] does "disconnect!" work properly?
Date Wed, 15 Aug 2012 13:09:00 GMT
i understand Ruby client automatically re-connects.

--- On Mon, 2012/8/13, aaron morton <> wrote:

My rough understanding of the ruby code is that it auto connects if necessary when you make
a request.
i.e. your get turns into a _multiget call here
and that result is in a client connection if necessary
If you still feel there is an problem the Issue list of github is probably the place to go

-----------------Aaron MortonFreelance Developer@aaronmorton

On 13/08/2012, at 2:27 PM, Satoshi Yamada <> wrote:
I wonder if disconnect! method works properly in gem cassandrabecause the code below does
not cause exception.
client ='pool', host_ip)
ret = client.get(:db, 'test', key, option_one)p retclient.disconnect!
ret = client.get(:db, 'test', key, option_one)p ret
I use gem cassandra 0.14.0
thanks in advance,satoshi

View raw message