On Mon, Oct 11, 2010 at 9:48 PM, B. Todd Burruss <[email protected]> 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 http://riptano.com
