code for read operations cassandra

2011-04-18 Thread Anurag Gujral
Hi All, Can you please point me to the code where cassandra is iterating over all the sstables for a key when doing read operation on a key. Thanks a ton, Regards, Anurag

Re: code for read operations cassandra

2011-04-18 Thread Jonathan Ellis
ColumnFamilyStore.getColumnFamily On Mon, Apr 18, 2011 at 7:15 PM, Anurag Gujral wrote: > Hi All, >     Can you please point me to the code where cassandra is iterating > over all the sstables for a key when doing read operation on a > key. > Thanks a ton, > Regards, > Anurag > -- Jon

Re: code for read operations cassandra

2011-04-18 Thread pprun
I'd say that following below steps, you'll the whole logic for 'READ' path : org.apache.cassandra.thrift.CassandraServer.get(ByteBuffer, ColumnPath, ConsistencyLevel) -> 'org.apache.cassandra.service.StorageProxy.read(List, ConsistencyLevel)' -> essagingService.instance().sendRR (*ReadCommand Messa