incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anty <anty....@gmail.com>
Subject Re: Why so many commitlogs ?
Date Wed, 07 Jul 2010 15:35:38 GMT
yes, i know. I only insert records into one CF.

when a memtable flush complete, commitlog  will check if there are some
obsolete commitlog segments.
I don't known why there are so many commitlog file out there.
is there a possibility that too many memtables is waiting for flushing,
which prevent many commitlog files from  being removed.

On Wed, Jul 7, 2010 at 10:13 PM, Jonathan Ellis <jbellis@gmail.com> 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 <anty.rao@gmail.com> wrote:
> > 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
> > Anty Rao
> >
>
>
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of Riptano, the source for professional Cassandra support
> http://riptano.com
>



-- 
Best Regards
Anty Rao

Mime
View raw message