cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anubhav Kale <>
Subject RE: DTCS Question
Date Thu, 17 Mar 2016 17:04:04 GMT
Thanks for the explanation.

From: Marcus Eriksson []
Sent: Thursday, March 17, 2016 12:56 AM
Subject: Re: DTCS Question

On Wed, Mar 16, 2016 at 6:49 PM, Anubhav Kale <<>>
I am using Cassandra 2.1.13 which has all the latest DTCS fixes (it does STCS within the DTCS
windows). It also introduced a field called MAX_WINDOW_SIZE which defaults to one day.

So in my data folders, I may see SS Tables that span beyond a day (generated through old data
through repairs or commit logs), but whenever I see a message in logs “Compacted Foo”
(meaning the SS Table under question was definitely a result of compaction), the “Foo”
SS Table should never have data beyond a day. Is this understanding accurate ?
No - not until<>
(read for explanation)

If we have issues with repairs pulling in old data, should MAX_WINDOW_SIZE instead be set
to a larger value so that we don’t run the risk of too many SS Tables lying around and never
getting compacted ?
No, with CASSANDRA-10280 that old data will get compacted if needed (assuming you have default
settings). If the remote node is correctly date tiered, the streamed sstable will also be
correctly date tiered. Then that streamed sstable will be put in a time window and if there
are enough sstables in that old window, we do a compaction.


View raw message