Can append/prepend unlock getl in the future?
Mon, 02/27/2012 - 15:08
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.
Fri, 03/02/2012 - 20:27
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.
Fri, 03/02/2012 - 23:11
Thank you. Yes, it make sense.
Also can append/prepend works for an non-existent key?