Thank you Chris.
On Fri, Feb 24, 2017 at 4:00 AM, Chris Lohfink
wrote:
> The truncates are written to the truncated_at field in system.local and
> should be honored by the commit log replayer (
> https://github.com/apache/cassandra/blob/af3fe39dcabd9ef77a00309ce67412
> 68423206df/src/java/org/ap
thanks Chris
> On Feb 23, 2017, at 11:00 AM, Chris Lohfink
> wrote:
>
> The truncates are written to the truncated_at field in system.local and
> should be honored by the commit log replayer (
> https://github.com/apache/cassandra/blob/af3fe39dcabd9ef77a00309ce6741268423206df/src/java/org/apach
The truncates are written to the truncated_at field in system.local and
should be honored by the commit log replayer (
https://github.com/apache/cassandra/blob/af3fe39dcabd9ef77a00309ce6741268423206df/src/java/org/apache/cassandra/db/commitlog/CommitLogReplayer.java#L102
).
Chris
On Wed, Feb 22,
Thanks Jeremy.
Any way I could detect that such a truncate operation was performed on the
table? Does it leave a trace that the truncate happened anywhere?
Best regards,
Sanal
On Thu, Feb 23, 2017 at 11:47 AM, Jeremy Hanna
wrote:
> Everything in that table is deleted. There's no mutation or an
Everything in that table is deleted. There's no mutation or anything in the
commitlog. It's a deletion of all the sstables for that table. To make sure
everything is gone, it first does a flush, then a snapshot to protect against a
mistake, then the truncate itself.
> On Feb 22, 2017, at 6:05 P
Hi Folks,
I am trying to read Mutations from commit log files through an
implementation of CommitLogReadHandler interface.
For a truncate CQL operation, I do not see a Mutation object.
Does C* skip writing the truncate operation into the commit log file?
Thanks for your help.
Best regards,
Sa