Going to hate myself for this, but check out the trigger interface.

https://github.com/apache/cassandra/blob/cassandra-3.0/src/java/org/apache/cassandra/triggers/ITrigger.java

Pay attention to the note that says the API is in beta and subject to
change. It's had that note for many years, which is an indication of how
infrequently anyone uses triggers.


On Thu, Nov 16, 2017 at 9:31 AM, Abdelkrim Fitouri <abdou....@gmail.com>
wrote:

> Hi,
>
> I have some security constraint on a project, and i need to validate or
> unvalidate changes made on a keyspace via cql or via an other ways before
> replication.
>
> for example in the case of multinode cluster with replication, if data was
> changed locally using cqlsh, data will be replicated (that is normal
> working way for cassandra)
>
> is there a possibility to call a custom validation function just before
> data replication ?
>
> Many thanks for any help.
>
> --
>
> Best Regards.
>

Reply via email to