http://en.wikipedia.org/wiki/Compare-and-swap

I believe C* uses Paxos for CAS but not completely sure?

--
Francisco Andrades Grassi
www.bigjocker.com
@bigjocker

On Jul 1, 2013, at 1:49 PM, "Hiller, Dean" <dean.hil...@nrel.gov> wrote:

> What does CAS stand for? And is that the row locking feature like hbase's
> setAndReadWinner that you give the previous val and next val and your next
> val is returned if you won otherwise the current result is returned and
> you know some other node won?
> 
> Thanks,
> Dean
> 
> On 7/1/13 12:09 PM, "Blair Zajac" <bl...@orcaware.com> wrote:
> 
>> Thanks!
>> 
>> On 7/1/13 1:41 AM, Sylvain Lebresne wrote:
>>> You're right, there is currently no way to do this since 1) insert
>>> can't have a
>>> IF currently and 2) update can't update such table.
>>> 
>>> We'll fix that: https://issues.apache.org/jira/browse/CASSANDRA-5715
>>> 
>>> --
>>> Sylvain
>>> 
>>> 
>>> On Sat, Jun 29, 2013 at 9:51 PM, Blair Zajac <bl...@orcaware.com
>>> <mailto:bl...@orcaware.com>> wrote:
>>> 
>>>    On 6/24/13 8:23 PM, Blair Zajac wrote:
>>> 
>>>        How does one do an atomic update in a column family with a
>>> single column?
>>> 
>>>        I have a this CF
>>> 
>>>        CREATE TABLE schema_migrations (
>>>        version TEXT PRIMARY KEY,
>>>        ) WITH COMPACTION = {'class': 'LeveledCompactionStrategy'};
>>> 
>>> 
>>>    Anyone?  Should I raise this on the developer mailing list or open
>>> a ticket?
>>> 
>>>    Blair
> 

Reply via email to