You are viewing a plain text version of this content. The canonical link for it is here.
Posted to client-dev@cassandra.apache.org by Dan Washusen <da...@reactive.org> on 2010/09/01 11:12:27 UTC

Accessing the current schema version?

The new live schema methods all returns a string that indicates the schema
version (e.g.
org.apache.cassandra.thrift.Cassandra.Client#system_drop_keyspace).  Does
anyone know if it's possible to query for a keyspace schema version without
making modifications?

Cheers,
Dan

Re: Accessing the current schema version?

Posted by Gary Dusbabek <gd...@gmail.com>.
check_schema_agreement() can be used for this right now.  The downside
is that it contacts every node in the cluster.  They map key in the
results (hopefully there should be only one key) is the current schema
version uuid that has been stringified.

Gary.


On Wed, Sep 1, 2010 at 04:12, Dan Washusen <da...@reactive.org> wrote:
> The new live schema methods all returns a string that indicates the schema
> version (e.g.
> org.apache.cassandra.thrift.Cassandra.Client#system_drop_keyspace).  Does
> anyone know if it's possible to query for a keyspace schema version without
> making modifications?
>
> Cheers,
> Dan
>