Look for cases in the code for 'it_flags & ITEM_CHUNKED'. There are a few cases where the data is looped through. (append/prepend code).On Jun 6, 2023, at 9:46 PM, boaz shavit wrote:Thanks a lot
Dormando.We have made some customization to the code and we are using ITEM_data macro in order to re
Thanks a lot Dormando.
We have made some customization to the code and we are using ITEM_data
macro in order to retrieve the value of the key.
This work for all slabs except the last one. Is there any way to
programmatically retrieve the data ?
Thanks,
Bob.
On Tuesday, June 6, 2023 at 11:22:4
Hey,
Items larger than the slab class max are "chunked" across multiple slab
chunks. See: https://github.com/memcached/memcached/wiki/ReleaseNotes1429
Since that release a "cap" chunk mode was added, so if chunk max is set to
16k and you store a 17k item, it will split into:
1) tiny chunk for ke
Hello,
I'm trying to understand how data is saved in memcached for items with size
> 0.5M.
When I check the slabclass structure array, I see it only has values for
classes up to .5 MB and another entry in place zero which looks like this:
(gdb) p slabclass[0]
*$87 = {size = 0, perslab = 0, slots