incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From james anderson <james.ander...@setf.de>
Subject Re: ? how to do protocol version negotiation
Date Mon, 02 Aug 2010 05:50:03 GMT

On 2010-08-02, at 02:22 , Jonathan Ellis wrote:

> As far as thrift mode goes, you really have to rely on the user to
> specify the correct version (since connecting with framed mode, to an
> unframed server, can crash it).
>
> In 0.7 framed mode will be the default and I am strongly in favor of
> removing the unframed option entirely in 0.8.

ok. in other words, there is no negotiation protocol.
how is that supposed to work out?

is the plan to eradicate 0.6 servers? (see above.)

>
> On Sun, Aug 1, 2010 at 2:46 PM, james anderson  
> <james.anderson@setf.de> wrote:
>>
>> On 2010-08-01, at 19:31 , Jonathan Ellis wrote:
>>
>>> use the describe_version thrift api call
>>>
>>
>> in principle, obvious.
>>
>> on the other hand, how does one know whether or not to send the frame
>> header?
>> is there a standard probe one can send?
>> is there a standard .7 server behaviour if no frame was sent?
>> a standard .6 if one was?
>>
>>> On Sun, Aug 1, 2010 at 2:00 AM, james anderson  
>>> <james.anderson@setf.de>
>>> wrote:
>>>>
>>>> good morning;
>>>>
>>>> is there somewhere a description of - or code which does, protocol
>>>> version
>>>> negotiation? particularly client code, across the 0.6/0.7  
>>>> transition.
>>>>
>>>> all pointers would be welcome.
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Jonathan Ellis
>>> Project Chair, Apache Cassandra
>>> co-founder of Riptano, the source for professional Cassandra support
>>> http://riptano.com
>>
>>
>
>
>
> -- 
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of Riptano, the source for professional Cassandra support
> http://riptano.com


Mime
View raw message