Details
-
Bug
-
Resolution: Fixed
-
Critical
-
7.1.0
-
None
-
Untriaged
-
1
-
Yes
-
KV March-22
Description
Test case:
python3 testrunner.py -i b/try.ini -p max-dupe-result-count=10,num-tries=60,attempt-num=60,dgm_run=true,eviction_policy=fullEviction,skip_log_scan=False,bucket_storage=couchstore -t epengine.basic_ops.basic_ops.test_MB_32114,nodes_init=3,replicas=2,skip_cleanup=False,bucket_size=100,items=100000,active_resident_threshold=10,maxttl=300,max-dupe-result-count=10,num-tries=60,attempt-num=60,dgm_run=true,eviction_policy=fullEviction,skip_log_scan=False,bucket_storage=couchstore
|
Scenario:
1. Setting flush param on server
, exp_pager_stime to 10 on default
2. create 1000 docs, perform subdoc operation and wait for the data to get persisted
rc = mcd.set(KEY_NAME + str(i), 0, 0, json.dumps({'value': 'value2'}))
|
#performing mutate_in using sdkclient
|
cb_coll_default.mutate_in(KEY_NAME + str(i), [SD.upsert("subdoc_key", "subdoc_val",
|
xattr=True,
|
create_parents=True)])
|
3. load doc till the bucket goes to dgm with active_resident_threshold=20 (tried with 10 and 5)
4. run compaction (with or without compaction)
5. perform del_with_meta on persisted doc(step 2) and del_with_meta fails with Exists error
Traceback (most recent call last):
|
File "pytests/epengine/basic_ops.py", line 134, in test_MB_32114
|
rc = mcd.del_with_meta(KEY_NAME + str(i), 0, 0, 2, cas + 1)
|
File "lib/mc_bin_client.py", line 448, in del_with_meta
|
exp, seqno, cas, options, 0), scope=scope, collection=collection)
|
File "lib/mc_bin_client.py", line 229, in _doCmd
|
return self._handleSingleResponse(opaque)
|
File "lib/mc_bin_client.py", line 220, in _handleSingleResponse
|
cmd, opaque, cas, keylen, extralen, data = self._handleKeyedResponse(myopaque)
|
File "lib/mc_bin_client.py", line 216, in _handleKeyedResponse
|
raise MemcachedError(errcode, msg)
|
mc_bin_client.MemcachedError: Memcached error #2 'Exists': b''
|
The same test passes when maxttl is not set on the docs. Also this test case works fine in cheshire-cat.
Attachments
Issue Links
- relates to
-
MB-32114 DeleteWithMeta fails with Invalid error instead of success
- Closed