Re: About SStable Writer

2010-05-05 Thread Anty
THX schubert. On Thu, May 6, 2010 at 6:56 AM, Jonathan Ellis wrote: > Yes, this is a bug. Patch attached to > https://issues.apache.org/jira/browse/CASSANDRA-1056 > > On Wed, May 5, 2010 at 2:09 AM, Anty wrote: > > HI:All > > > > In source code of 0.6.1 ,in SSTableWriter, > > private void afte

Re: About SStable Writer

2010-05-05 Thread Jonathan Ellis
Yes, this is a bug. Patch attached to https://issues.apache.org/jira/browse/CASSANDRA-1056 On Wed, May 5, 2010 at 2:09 AM, Anty wrote: > HI:All > > In source code of 0.6.1 ,in SSTableWriter, > private void afterAppend(DecoratedKey decoratedKey, long dataPosition, int > dataSize) throws IOExcepti

Re: About SStable Writer

2010-05-05 Thread Schubert Zhang
Hi Jonathan, Could you please have a check this? On Wed, May 5, 2010 at 6:19 PM, Schubert Zhang wrote: > Include d...@cassandra.apache.org > > > On Wed, May 5, 2010 at 3:09 PM, Anty wrote: > >> HI:All >> >> In source code of 0.6.1 ,in SSTableWriter, >> private void afterAppend(DecoratedKey deco

Re: About SStable Writer

2010-05-05 Thread Schubert Zhang
Include d...@cassandra.apache.org On Wed, May 5, 2010 at 3:09 PM, Anty wrote: > HI:All > > In source code of 0.6.1 ,in SSTableWriter, > private void afterAppend(DecoratedKey decoratedKey, long dataPosition, int > dataSize) throws IOException > { > String diskKey = partitioner.convert

About SStable Writer

2010-05-05 Thread Anty
HI:All In source code of 0.6.1 ,in SSTableWriter, private void afterAppend(DecoratedKey decoratedKey, long dataPosition, int dataSize) throws IOException { String diskKey = partitioner.convertToDiskFormat(decoratedKey); bf.add(diskKey); lastWrittenKey = decoratedKey;