Re: simple vs complex cells

2018-01-23 Thread Minh Do
there are > multiple copies of it in more than one sstables, how the read request will > determine which complex data is the latest and should be returned to the > user? > > Preetika > > -Original Message- > From: Minh Do [mailto:m...@netflix.com.INVALID] > Sen

Re: simple vs complex cells

2018-01-23 Thread Minh Do
Based on C* 3.x code base, I believe a complex column consists of many cells and each cell has its own timestamp. Then, there is a method to compute the maxTimestamp for a complex column: public long maxTimestamp() { long timestamp = complexDeletion.markedForDeleteAt(); for (Cell cell :

Re: Cassandra decompress already compressed data

2017-02-21 Thread Minh Do
Hi Alive, I think your observation is aligned to what I saw earlier during my debugging session. What you have is the compression in the wire between Java Driver and the C* Server. C* storage has a different flag and mechanism to compress its stored data in the SSTable files and as you can see,