keyspace and column family creationŠhow to use ConsistencyLevel.ALL with creation?

2012-08-29 Thread Hiller, Dean
The playOrm test suite drops the keyspace and recreates it for tests to wipe out the in-memory or cassandra db. Today, we successfully ran our test suite on a 6 node cluster. The one issue I had though was I needed to sleep after keyspace creation and column family creation. BEFORE that I

Re: keyspace and column family creationŠhow to use ConsistencyLevel.ALL with creation?

2012-08-29 Thread aaron morton
describe_schema_versions on the thrift API (SystemManager.describe_schema_versions() on pycassa) is what you are after. Call it before hand to know what's what, and then call until all nodes converge on the new schema. Cheers - Aaron Morton Freelance Developer @aaronmorton