Skip to content

Conversation

@Sunjeet
Copy link
Collaborator

@Sunjeet Sunjeet commented Jan 29, 2026

Bug: if any hashed keys were present in asyncbulkget, evCacheTranscoder would be applied to all results, and where the app specified a custom transcoder, the first application using evCacheTranscoder on un-hashed results would fallback to decoding the value as a String, and returning that String as is to the app (vs. invoking the custom transcoder on the underlying bytes).

The approach taken is to pass knowledge of hashed vs. unhashed keys and the 2 transcoders down into EVCacheClient::getAsyncBulk and onwards to EVCacheMemcachedClient::asyncGetBulk so that its gotData listener can do a one-step or two-step decode per key.

@Sunjeet Sunjeet changed the title Fix: asyncBulkGet decoding of hashed and unhashed keys together in on… Fix: asyncBulkGet decoding of hashed and unhashed keys together in one request Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants