Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

CAS only works when passing zero

2 replies [Last post]
  • Login or register to post comments
Thu, 08/09/2012 - 12:54
et1337
Offline
Joined: 08/09/2012
Groups: None

We've been using ultramemcache quite happily with Couchbase 1.8.1. Upgraded to 2.0 DP4 and everything seems to work fine except for CAS operations. They only work when passing zero for the CAS value.

I telnetted in to the Couchbase server and verified that CAS does in fact work, which means something's wrong on ultramemcache's side. What could have changed from 1.8.1 to 2.0? I noticed this thread which says the .NET client library is experiencing a similar issue. Is it something to do with a 32/64-bit issue? Is it solvable without modifying ultramemcache?

Top
  • Login or register to post comments
Tue, 08/14/2012 - 11:45
ingenthr
Offline
Joined: 03/16/2010
Groups:

The .NET client library issue was a bit different-- and it uses binary protocol directly, not the textual protocol.

Do you have a simple test case you can post? If so, it may be great to post it to couchbase.com/issues and we can get it to the right person.

Also, much has changed since DP4, and you may want to check a recent build if you can. See couchbase.com/downloads-all

Top
  • Login or register to post comments
Tue, 08/14/2012 - 11:49
et1337
Offline
Joined: 08/09/2012
Groups: None

Thanks for the feedback. Turns out it was an issue with ultramemcache and not Couchbase. The difference is that Couchbase 1.8.1 only generated 32-bit CAS values while 2.0 DP4 apparently generates 64-bit values. ultramemcache had a typo that treated them as 32-bit. The kind folks over at ESN fixed the problem and pushed out a new release (1.4). For anyone interested, the GitHub issue is here.

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker