Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 1.8.x

Can append/prepend unlock getl in the future?

3 replies [Last post]
  • Login or register to post comments
Mon, 02/27/2012 - 15:08
byzhang
Offline
Joined: 02/25/2012
Groups: None

It seems not to be the case based on http://www.couchbase.com/docs/couchbase-manual-1.8/couchbase-architectur..., but would be an interesting feature.

Top
  • Login or register to post comments
Mon, 02/27/2012 - 15:09
byzhang
Offline
Joined: 02/25/2012
Groups: None

Also can append/prepend works for an non-existent key?

Top
  • Login or register to post comments
Fri, 03/02/2012 - 20:27
mikew
Offline
Joined: 03/14/2011
Groups:

Only unlock (unl in ascii) can unlock a key that was locked with getl. Binary support for unlock will be added in Couchbase 1.8.1. Locks also have timeouts and the default lock timeout for getl is 15 seconds.

append/prepend will return an error if the key doesn't exist. This is done to maintain compatibility with the memcached protocol. Simple client side code can also achieve the what you are trying to do here.

Top
  • Login or register to post comments
Fri, 03/02/2012 - 23:11
byzhang
Offline
Joined: 02/25/2012
Groups: None

Thank you. Yes, it make sense.

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