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
-
For Gerrit Dashboard: MB-22044 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
72120,7 | MB-22044: Subdoc should detect and handle locked items | master | memcached | Status: ABANDONED | +1 | +1 |
72233,1 | DJR: MB-22044: Subdoc should detect and handle locked items | master | memcached | Status: ABANDONED | -1 | -1 |
72904,3 | MB-22044: EWBEngineMode::SetItemCas (1/3) | watson | memcached | Status: MERGED | +2 | +1 |
72905,3 | MB-22044: ewouldblock_engine_configure: Allow to pass key (2/3) | watson | memcached | Status: MERGED | +2 | +1 |
72906,3 | MB-22044: Subdoc should detect and handle locked items (3/3) | watson | memcached | Status: MERGED | +2 | +1 |
75115,6 | Merge remote-tracking branch 'couchbase/watson' into spock | master | memcached | Status: MERGED | +2 | +1 |