Re: Counter question

2012-03-29 Thread Shimi Kiviti
2 2 6409736 > Mob: +972 54 8356490 > Fax: +972 2 5612956 > > > > > > On Thu, Mar 29, 2012 at 10:44 AM, Shimi Kiviti wrote: > >> Like everything else in Cassandra, If you need full consistency you need >> to make sure that you have the right combination

Re: Counter question

2012-03-29 Thread Shimi Kiviti
Like everything else in Cassandra, If you need full consistency you need to make sure that you have the right combination of (write consistency level) + (read consistency level) if W = write consistency level R = read consistency level N = replication factor then W + R > N Shimi On Thu, Mar 29,

Re: Row iteration over indexed clause

2012-03-13 Thread Shimi Kiviti
Yes.use get_indexed_slices (http://wiki.apache.org/cassandra/API) On Tue, Mar 13, 2012 at 2:12 PM, Vivek Mishra wrote: > Hi, > Is it possible to iterate and fetch in chunks using thrift API by querying > using "secondary indexes"? > > -Vivek >

Re: Composite column docs

2012-01-06 Thread Shimi Kiviti
me. I a lower level documntation > Cheers > > - > Aaron Morton > Freelance Developer > @aaronmorton > http://www.thelastpickle.com > > On 6/01/2012, at 12:48 AM, Shimi Kiviti wrote: > > Is there a doc for using composite columns with thrift? >

Composite column docs

2012-01-05 Thread Shimi Kiviti
Is there a doc for using composite columns with thrift? Is https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/marshal/CompositeType.java the only doc? does the client needs to add the length to the get \ get_slice... queries or is it taken care of on the server side? S

Re: CassandraDaemon deactivate doesn't shutdown Cassandra

2011-10-15 Thread Shimi Kiviti
The problem doesn't exist after the column family is truncated or if durable_writes=true Shimi On Tue, Oct 11, 2011 at 9:30 PM, Shimi Kiviti wrote: > I am running an Embedded Cassandra (0.8.7) and > calling CassandraDaemon.deactivate() after I write rows (at least 1), > do

CassandraDaemon deactivate doesn't shutdown Cassandra

2011-10-11 Thread Shimi Kiviti
I am running an Embedded Cassandra (0.8.7) and calling CassandraDaemon.deactivate() after I write rows (at least 1), doesn't shutdown Cassandra. If I run only "reads" it does shutdown even without calling CassandraDaemon.deactivate() Anyone have any idea what can cause this problem? Shimi