Details
Description
The following script fails with KEY_EEXISTS
#!/usr/bin/env python
|
|
from couchbase.bucket import Bucket
|
import couchbase.subdocument as SD
|
|
cb = Bucket('couchbase://localhost/test')
|
|
cb.upsert('0', {'recs':[]})
|
|
#fails
|
result = cb.lock('0', ttl=5)
|
cb.mutate_in('0', SD.array_append('recs', 1), cas=result.cas)
|
Dean Proctor has also verified this fails with Java as well, so this isn't a client bug.
Attachments
Issue Links
- blocks
-
MB-22188 4.6.2 Minor Release
-
- Closed
-
Build 4.6.1-3807 contains memcached commit a8389c0419c54cfb00056b5a64913617f5af2cea with commit message:
MB-22044: Subdoc should detect and handle locked items (3/3)https://github.com/couchbase/memcached/commit/a8389c0419c54cfb00056b5a64913617f5af2cea