or/cassandra/Cassandra4CommitLogReadHandlerImpl.java
>
> Feel free to reach me privately or here on ML if you have any specific
> questions.
>
> Regards
>
> Stefan
>
> On Wed, 4 May 2022 at 01:40, Sanal Vasudevan wrote:
> >
> > Hi Folks,
> >
> > I
Hi Folks,
I have a standalone Java application that implements the interface
*CommitLogReadHandler* to read cassandra commit log files generated by
Cassandra 3.11.
I recently tried to use this to read the commit logs generated by Cassandra
4, but it does not work.
Has anyone tried to implement *Co
src/java/org/apache/cassandra/db/commitlog/
> CommitLogReplayer.java#L102
> ).
>
> Chris
>
> On Wed, Feb 22, 2017 at 7:02 PM, Sanal Vasudevan
> wrote:
>
> > Thanks Jeremy.
> > Any way I could detect that such a truncate operation was performed on
> the
> >
ation 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 PM, Sanal Vasudevan
>
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
.java
>
> Nothing is stopping you from continuing with processing mutations
> somewhere else though, I just think the above would be a good place to
> start and is supported-ish API.
>
--
Sanal Vasudevan Nair
p
>you much there.
>
> There might be some other approach that are worth considering but they did
> not come to my mind.
>
> Hope it helps
>
> Benjamin
>
> PS: MongoDB ... Seriously ??? ;-)
>
--
Sanal Vasudevan Nair
wrote:
> Hi Sanal,
>
> What you want to do is not an easy stuff and it might break with new major
> releases.
>
> My question would be: why do you want to do that? There might be another
> way to reach the same goal.
>
> Benjamin
>
> On Mon, Nov 21, 2016 at
") });
>
> 2) Likewise do we have metadata inside Mutation object to decode whether
>
> the CQL was an INSERT or UPDATE operation?
>
>
>
> Josh Mckenzie indicated that PartitionUpdate.deletionInfo
>
> (MutableDeletionInfo) may have some information but deletionInfo is
> private.
>
>
>
> Basically, I am looking for help to find a way to classify Mutation object
>
> to INSERT/UPDATE/DELETE with related column and key information.
>
>
>
> Many thanks.
>
> --
>
> Sanal
>
>
>
>
>
>
>
--
Sanal Vasudevan Nair
Hi there,
I am trying to read the Commit logs to decode the original CQL which used.
I get to the point an implemention of CommitLogReadHandler is able to push
back Mutation objects from the Commit logs.
Questions:
1) CQL: delete from myks.mytable where key1 = 1;
For the above CQL, the Mutation
10 matches
Mail list logo