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 Thu, 08 Jul 2010 01:07:39 GMT
Thx Jonathan.


On Wed, Jul 7, 2010 at 11:58 PM, Jonathan Ellis <jbellis@gmail.com> wrote:

> number of memtables waiting to flush has a pretty low bound (# of data
> file directories in 0.6.3)
>
> O ,I seen

> did you check your log for exceptions?
>
Yes ,but no exceptions.




> On Wed, Jul 7, 2010 at 10:35 AM, Anty <anty.rao@gmail.com> wrote:
> > 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
> >
>
>
>
> --
> 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