cassandra-client-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Lebresne <>
Subject Re: Multi-node cluster-aware client connection
Date Thu, 12 Sep 2013 08:35:45 GMT
On Wed, Sep 11, 2013 at 11:52 PM, Paul LeoNerd <>wrote:

> I have also found this
> which requests is be a single global ID across the cluster

Not exactly. The ticket was about making prepared statements global
to one node (not global to the cluster) rather to one client connection.
And yes, that's the case now as this ticket has been fixed in 1.2.0-beta2.

That being said, since you talk about "ID", for a given query string, if
you prepare it, it will always have the same ID technically because the
ID is a hash of the query string (and you can rely on that). That being
said, you still need to prepare the query string on every node of the
cluster: a node won't be able to execute a prepared statement that
hasn't been prepared on that node (and btw, prepared statements are
not persisted across node restart).


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message