Re: atomic test-or-set

2010-10-05 Thread Ian Rogers
On 05/10/2010 16:30, Ryan King wrote: On Tue, Oct 5, 2010 at 8:23 AM, Ian Rogersian.rog...@contactclean.com wrote: Does Cassandra have an atomic test-or-set operation? That is, I want to check to see if a key has a value and, if not, set it to something. But it must be an atomic operation -

Re: 0.7.0 beta1 to beta2 rolling upgrade error

2010-10-04 Thread Ian Rogers
Thanks, I just pushed ahead with the rolling upgrade with bootstrap off. This just meant the beta1 cluster got smaller and dissappeared while the beta2 cluster got bigger and took over. This is only a dev system so no writes will/should have been lost. Ian On 04/10/2010 14:55, Jonathan