RE: about trigger execution ??? // RE: sending notifications through data replication on remote clusters

2014-03-10 Thread DE VITO Dominique
Thanks a lot. [@@ THALES GROUP INTERNAL @@] De : Edward Capriolo [mailto:edlinuxg...@gmail.com] Envoyé : lundi 10 mars 2014 16:47 À : user@cassandra.apache.org Objet : Re: about trigger execution ??? // RE: sending notifications through data replication on remote clusters Just so you know you

Re: about trigger execution ??? // RE: sending notifications through data replication on remote clusters

2014-03-10 Thread Edward Capriolo
Just so you know you should probably apply the [jira] [Commented] (*CASSANDRA*-6790) *Triggers* are broken in trunk *...*

about trigger execution ??? // RE: sending notifications through data replication on remote clusters

2014-03-10 Thread DE VITO Dominique
> You should be able to achieve what you're looking for with a trigger vs. a > modification to the core of Cassandra. > > http://www.datastax.com/dev/blog/whats-new-in-cassandra-2-0-prototype-triggers-support Well, good point. It leads to the question: (a) are triggers executed on all (local+rem

Re: sending notifications through data replication on remote clusters

2014-03-10 Thread Eric Plowe
You should be able to achieve what you're looking for with a trigger vs. a modification to the core of Cassandra. http://www.datastax.com/dev/blog/whats-new-in-cassandra-2-0-prototype-triggers-support On Mon, Mar 10, 2014 at 10:06 AM, DE VITO Dominique < dominique.dev...@thalesgroup.com> wrote

RE: sending notifications through data replication on remote clusters

2014-03-10 Thread DE VITO Dominique
> On 03/10/2014 07:49 AM, DE VITO Dominique wrote: > > If I update a data on DC1, I just want apps "connected-first" to DC2 > > to be informed when this data is available on DC2 after replication. > > If I run a SELECT, I'm going to receive the latest data per the read > conditions (ONE, TWO, QU

Re: sending notifications through data replication on remote clusters

2014-03-10 Thread Michael Shuler
On 03/10/2014 07:49 AM, DE VITO Dominique wrote: If I update a data on DC1, I just want apps “connected-first” to DC2 to be informed when this data is available on DC2 after replication. If I run a SELECT, I'm going to receive the latest data per the read conditions (ONE, TWO, QUORUM), regardl

sending notifications through data replication on remote clusters

2014-03-10 Thread DE VITO Dominique
Hi, I have the following use case: If I update a data on DC1, I just want apps "connected-first" to DC2 to be informed when this data is available on DC2 after replication. When using Thrift, one way could be to modify CassandraServer class, to send notification to apps according to data coming