cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Jirsa"<jji...@apache.org>
Subject Re: Customize Cassandra to execute a query multiple times
Date Thu, 27 Jul 2017 05:57:09 GMT


On 2017-07-26 22:19 (-0700), Ke Wang <klwangke@gmail.com> wrote: 
> Hello all,
> 
> Is there a way to customize Cassandra to execute a query multiple times?
> 

There's always a way...

> My use case is the following. When the Cassandra server receives queries
> from remote clients, besides executing those queries, the server also
> stores the queries. In the future, the server can re-execute stored queries
> under certain circumstances.
> 

Seems like an unusual request. Where are you storing the queries? Are these reads or writes?
For writes you could just serialize the resulting partitionupdate/mutation into a table a
la pre-3.0 hints, and then re-play as needed (though tbh I don't really get the use case)?




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
For additional commands, e-mail: dev-help@cassandra.apache.org


Mime
View raw message