Re: Cassandra doesn't flush any commit log files into cdc_raw directory

2021-04-29 Thread Bingqin Zhou
ou a > écrit : > >> Hi all, >> >> We're working on a Kafka connector to capture data changes in Cassandra by >> processing commit log files in the cdc_raw directory. After we enabled CDC >> on a few tables, we didn't observe any commit log files getting flu

Re: Cassandra doesn't flush any commit log files into cdc_raw directory

2021-04-29 Thread Ahmed Eljami
t;very low" write rates, memtable can take a lot of time before be flushed on disk. Cheers, Ahmed Le jeu. 29 avr. 2021 à 00:23, Bingqin Zhou a écrit : > Hi all, > > We're working on a Kafka connector to capture data changes in Cassandra by > processing commit log files in

Cassandra doesn't flush any commit log files into cdc_raw directory

2021-04-28 Thread Bingqin Zhou
Hi all, We're working on a Kafka connector to capture data changes in Cassandra by processing commit log files in the cdc_raw directory. After we enabled CDC on a few tables, we didn't observe any commit log files getting flushed into cdc_raw directory as expected, but got WriteTimeou

Re: Reading Commit log files

2016-11-27 Thread Kamesh
to disk causes the corresponding commitlog segments >>> to be deleted. Once the data is flushed into SSTables it can be considered >>> durable (in case of a node crash, the data won't be lost), and therefore >>> there's no point in keeping it in the commitlog as we

Re: Reading Commit log files

2016-11-23 Thread Kamesh
he data is flushed into SSTables it can be considered >> durable (in case of a node crash, the data won't be lost), and therefore >> there's no point in keeping it in the commitlog as well. >> >> Try without flushing and see if you can see your opera

Re: Reading Commit log files

2016-11-23 Thread Carlos Alonso
herefore > there's no point in keeping it in the commitlog as well. > > Try without flushing and see if you can see your operations there. > > Regards > > On Wed, 23 Nov 2016 at 11:04 Kamesh wrote: > > Hi All, > I am trying to read cassandra commit log files, but

Re: Reading Commit log files

2016-11-23 Thread Kamesh
ase of a node crash, the data won't be lost), and therefore > there's no point in keeping it in the commitlog as well. > > Try without flushing and see if you can see your operations there. > > Regards > > On Wed, 23 Nov 2016 at 11:04 Kamesh wrote: > >> Hi A

Re: Reading Commit log files

2016-11-23 Thread Carlos Alonso
well. Try without flushing and see if you can see your operations there. Regards On Wed, 23 Nov 2016 at 11:04 Kamesh wrote: > Hi All, > I am trying to read cassandra commit log files, but unable to do it. I am > experimenting this with 1 node cluster(laptop) > > Cassandra V

Reading Commit log files

2016-11-23 Thread Kamesh
Hi All, I am trying to read cassandra commit log files, but unable to do it. I am experimenting this with 1 node cluster(laptop) Cassandra Version : *3.8* Updated cassadra.yaml with *cdc_enabled: true* After executing the below statments and flushing memtables, tried reading commit log files

Re: Removing commit log files

2014-11-19 Thread Robert Coli
On Tue, Nov 18, 2014 at 6:30 PM, Jacob Rhoden wrote: > Is it correct to assume that if you do a “nodetool drain” on a node and > then shutdown a node, you can safely remove all commit logs on that node as > long as all nodes are up? > Assuming you are in a version where nodetool drain actually w

Removing commit log files

2014-11-18 Thread Jacob Rhoden
Hi Guys, Is it correct to assume that if you do a “nodetool drain” on a node and then shutdown a node, you can safely remove all commit logs on that node as long as all nodes are up? I have some VPS’s with low amounts of disk space that could do with it being recovered, I also assume this mea

Re: 1.1 not removing commit log files?

2012-06-05 Thread aaron morton
UG enabled. Tough on > production though. > > From: aaron morton [mailto:aa...@thelastpickle.com] > Sent: Monday, June 04, 2012 11:15 AM > To: user@cassandra.apache.org > Subject: Re: 1.1 not removing commit log files? > > Apply the local hint mutation follows t

RE: 1.1 not removing commit log files?

2012-06-04 Thread Bryce Godfrey
I'll try to get some log files for this with DEBUG enabled. Tough on production though. From: aaron morton [mailto:aa...@thelastpickle.com] Sent: Monday, June 04, 2012 11:15 AM To: user@cassandra.apache.org Subject: Re: 1.1 not removing commit log files? Apply the local hint mutation fo

Re: 1.1 not removing commit log files?

2012-06-04 Thread aaron morton
Apply the local hint mutation follows the same code path and regular mutations. When the commit log is being truncated you should see flush activity, logged from the ColumnFamilyStore with "Enqueuing flush of " messages. If you set DEBUG logging for the org.apache.cassandra.db.ColumnFamilySto

Re: 1.1 not removing commit log files?

2012-06-01 Thread Rob Coli
On Thu, May 31, 2012 at 7:01 PM, aaron morton wrote: > But that talks about segments not being cleared at startup. Does not explain > why they were allowed to get past the limit in the first place. Perhaps the commit log size tracking for this limit does not, for some reason, track hints? This se

Re: 1.1 not removing commit log files?

2012-05-31 Thread aaron morton
gt; > From: Bryce Godfrey [mailto:bryce.godf...@azaleos.com] > Sent: Tuesday, May 22, 2012 1:10 PM > To: user@cassandra.apache.org > Subject: RE: 1.1 not removing commit log files? > > The nodes appear to be holding steady at the 8G that I set it to in the > config file n

RE: 1.1 not removing commit log files?

2012-05-31 Thread Bryce Godfrey
moving commit log files? The nodes appear to be holding steady at the 8G that I set it to in the config file now. I'll keep an eye on them. From: aaron morton [mailto:aa...@thelastpickle.com]<mailto:[mailto:aa...@thelastpickle.com]> Sent: Tuesday, May 22, 2012 4:08 AM To: user@cas

RE: 1.1 not removing commit log files?

2012-05-22 Thread Bryce Godfrey
The nodes appear to be holding steady at the 8G that I set it to in the config file now. I'll keep an eye on them. From: aaron morton [mailto:aa...@thelastpickle.com] Sent: Tuesday, May 22, 2012 4:08 AM To: user@cassandra.apache.org Subject: Re: 1.1 not removing commit log files? 4096 is

Re: 1.1 not removing commit log files?

2012-05-22 Thread aaron morton
4096 is also the internal hard coded default for commitlog_total_space_in_mb If you are seeing more that 4GB of commit log files let us know. Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 22/05/2012, at 6:35 AM, Bryce Godfrey wrote

RE: 1.1 not removing commit log files?

2012-05-21 Thread Bryce Godfrey
Thanks, I'll give it a try. -Original Message- From: Alain RODRIGUEZ [mailto:arodr...@gmail.com] Sent: Monday, May 21, 2012 2:12 AM To: user@cassandra.apache.org Subject: Re: 1.1 not removing commit log files? commitlog_total_space_in_mb: 4096 By default this line is commented in

Re: 1.1 not removing commit log files?

2012-05-21 Thread Alain RODRIGUEZ
d regards, > > Pieter Callewaert > > > > From: Bryce Godfrey [mailto:bryce.godf...@azaleos.com] > Sent: maandag 21 mei 2012 9:52 > To: user@cassandra.apache.org > Subject: 1.1 not removing commit log files? > > > > The commit log drives on my nodes keep slowly

RE: 1.1 not removing commit log files?

2012-05-21 Thread Pieter Callewaert
[mailto:bryce.godf...@azaleos.com] Sent: maandag 21 mei 2012 9:52 To: user@cassandra.apache.org Subject: 1.1 not removing commit log files? The commit log drives on my nodes keep slowly filling up. I don't see any errors in my logs that are indicating any issues that I can map to this issue. Is thi

1.1 not removing commit log files?

2012-05-21 Thread Bryce Godfrey
The commit log drives on my nodes keep slowly filling up. I don't see any errors in my logs that are indicating any issues that I can map to this issue. Is this how 1.1 is supposed to work now? Previous versions seemed to keep this drive at a minimum as it flushed. /dev/mapper/mpathf 25G

Re: Commit log files

2010-10-21 Thread Aaron Morton
The commit log contains serialised RowMutation's which identify the CF by their internal ID. This identifies the Keysapce+CF pair. These are the same structures that are used when the mutation is applied during the initial request.   AaronOn 22 Oct, 2010,at 07:28 AM, Bill Hastings wrote:So how do

Re: Commit log files

2010-10-21 Thread Bill Hastings
So how do we figure which column families belong to which keyspace or is that immaterial? On Thu, Oct 21, 2010 at 10:38 AM, aaron morton wrote: > It's co-mingled like hippies on the last day of a festival > http://wiki.apache.org/cassandra/ArchitectureCommitLog > > Aaron > > On 22 Oct 2010, at 03

Re: Commit log files

2010-10-21 Thread aaron morton
It's co-mingled like hippies on the last day of a festival http://wiki.apache.org/cassandra/ArchitectureCommitLog Aaron On 22 Oct 2010, at 03:40, Bill Hastings wrote: > Does Cassandra maintain a commit log per table? Or are they co-mingled? > > -- > Cheers > Bill

Commit log files

2010-10-21 Thread Bill Hastings
Does Cassandra maintain a commit log per table? Or are they co-mingled? -- Cheers Bill