Commit 525c046
committed
MB-66959 Fix invocation of fetching collections manifest
Get collections manifest request validates that the vbid given is 0.
But the cb_evict_key program is meant to specify some vbucket and hence it fails:
./cb_evict_key.py Administrator password default 100 colA_-5835 _default.FunctionCollection1
mc_bin_client.ErrorEinval: Memcached error #4: EINVAL : Invalid packet : {"error":{"context":"Request vbucket id must be 0"}}
The fix is same as what we do for get_collection_id.
Post fixing:
./cb_evict_key.py Administrator password default 100 colA_-5835 _default.FunctionCollection1
(211893125, 0, b'Ejected.')
Change-Id: Ic35e6e03c6bd47b37c2e5c3a91165fd1395973f1
Reviewed-on: https://review.couchbase.org/c/kv_engine/+/230628
Reviewed-by: Mohammad Zaeem <[email protected]>
Tested-by: Build Bot <[email protected]>1 parent 76d972a commit 525c046
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1058 | 1058 | | |
1059 | 1059 | | |
1060 | 1060 | | |
| 1061 | + | |
| 1062 | + | |
1061 | 1063 | | |
1062 | 1064 | | |
1063 | 1065 | | |
1064 | 1066 | | |
1065 | 1067 | | |
| 1068 | + | |
1066 | 1069 | | |
1067 | 1070 | | |
1068 | 1071 | | |
| |||
0 commit comments