Details
-
Bug
-
Resolution: Fixed
-
Critical
-
5.0.0
-
None
-
Untriaged
-
No
Description
Found while running the epengine doc-keys test suite but easily reproducible:
- Create an ephemeral bucket
- Add a KV pair
- Delete that KV
- Do a get on the KV to confirm that the KV is no longer there
- Check cbstats and curr_items is 1 instead of 0.
Observed with 5.0.0-1928.
Here is the python script I used to reproduce this:
from couchbase.bucket import Bucket
|
cb = Bucket('couchbase://172.23.106.24/default')
|
cb.upsert('king_arthur', {'name': 'Arthur',
|
'email': 'kingarthur@couchbase.com',
|
'interests': ['Holy Grail', 'African Swallows']})
|
|
rc = cb.delete('king_arthur')
|
print 'the rc is', rc
|
rc = cb.get('king_arthur')
|
print 'get rc is', rc
|
Attachments
For Gerrit Dashboard: MB-22747 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
74130,4 | MB-22747 [Ephemeral]: Update item count stats correctly after delete | master | ep-engine | Status: MERGED | +2 | +1 |