This should be the case, yes, semantics isn't affected by the
connection and state isn't kept. What might happen if you read/write
with low consistency levels then when you hit a different host on the
ring it might have an inconsistent state in case of partition.

On Sunday, December 12, 2010, shimi <shim...@gmail.com> wrote:
> So if I will use a different connection (thrift via Hector), will I get the 
> same results? It's make sense when you use OPP and I assume it is the same 
> with RP. I just wanted to make sure this is the case and there is no state 
> which is kept.
>
> Shimi
>
> On Sun, Dec 12, 2010 at 8:14 PM, Peter Schuller <peter.schul...@infidyne.com> 
> wrote:
>
>> Is the same connection is required when iterating over all the rows with
>> Random Paritioner or is it possible to use a different connection for each
>> iteration?
>
> In general, the choice of RPC connection (I assume you mean the
> underlying thrift connection) does not affect the semantics of the RPC
> calls.
>
> --
> / Peter Schuller
>
>
>

-- 
/Ran

Reply via email to