Description
While reviewing the source code I noticed that this Doc API is incorrect:
/// <remarks>An expiration of 0 is treated as an infinite.</remarks>
|
When an expiry of 0 is passed to the getandlock operation, the server will not hold the lock for infinite, instead it will lock it for the server side default time which is 15 seconds:
$ cbstats localhost:11210 all | grep getl
|
ep_getl_default_timeout: 15
|
ep_getl_max_timeout: 30
|
Attachments
For Gerrit Dashboard: NCBC-1311 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
73579,2 | NCBC-1311: Update GetWithLock and GetAndLock expiration comments | master | couchbase-net-client | Status: MERGED | +2 | +1 |