incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <>
Subject Re: getSchemaVersion
Date Tue, 12 Oct 2010 03:06:41 GMT
On Mon, Oct 11, 2010 at 9:48 PM, B. Todd Burruss <> wrote:
> i was actually doing this to start with and was worried that i could have
> two clients modifying schemas at the same time.  it seems this could cause
> multiple valid versions and a race condition.  maybe it simply "works out"
> that i wait until only one version is in the map, *if* get the version map
> from the same host that i used to modify the schema?

I don't think you need to worry about that specific scenario but the
whole schema change code is designed with the precondition that you
are only making changes from one node at a time.  If you can't make
that assumption then you need to lock.

Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support

View raw message