for your 1-node cluster,  ANY is the only consistency level that client may 
returns BEFORE node write to memory table.
And read op on the node read both the memory table and SSTable.

It real puzzle me. :(

发件人: Roshan Dawrani [mailto:roshandawr...@gmail.com]
发送时间: 2011年1月25日 15:47
收件人: user@cassandra.apache.org; hector-us...@googlegroups.com
主题: Re: Basic question on a write operation immediately followed by a read

2011/1/25 Wangpei (Peter) 
<peter.wang...@huawei.com<mailto:peter.wang...@huawei.com>>
What is the ConsistencyLevel value? Is it ConsistencyLevel.ANY?

I am using Hector 0.7.0-22 and getting keyspace as HFactory.createKeyspace(), 
which seems to be defaulting the consistency level to QUORAM for both reads and 
writes.

Nowhere else, it is explicitly specified in my configuration.

Reply via email to