Re: Why so many commitlogs ?

2010-07-07 Thread Anty
event many commitlog files from being removed. On Wed, Jul 7, 2010 at 10:13 PM, Jonathan Ellis wrote: > commitlogs can be removed after _all_ the CFs they have data for have > been flushed. > > On Wed, Jul 7, 2010 at 5:21 AM, Anty wrote: > > Hi:all > > In my little clu

Why so many commitlogs ?

2010-07-07 Thread Anty
Hi:all In my little cluter ,after i insert many many records into cassandra, there are hundreds of commit log files in commitlog log directory. is it normal ? I read the source code of commitlog , there shouldn't be so many commitlog log files . any clue will be appreciate. -- Best Regards

Re: PhantomReference in Cassandra

2010-06-08 Thread Anty
In theory ,it could do some help. On Sat, Jun 5, 2010 at 9:10 PM, Jonathan Ellis wrote: > From what I have read, allowing the reference to be GC'd itself is > equivalent to calling clear. Does adding clear() make an observable > difference? > > On Sat, Jun 5, 2010 at

Fwd: PhantomReference in Cassandra

2010-06-05 Thread Anty
-- Forwarded message -- From: Anty Date: Sat, Jun 5, 2010 at 4:30 PM Subject: PhantomReference in Cassandra To: u...@cassandra.apache.org, chukwa-dev Hi:All in the code of SSTableReader.java private static final ReferenceQueue finalizerQueue = new ReferenceQueue

Re: About SStable Writer

2010-05-10 Thread Anty
ed 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 dec

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 S