openresty / openresty/lua-resty-memcached

reading protobuf values

Open
#15 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
216
Forks
62
Avg merge
1h 20m
Merged PRs (30d)
2

Description

I am trying to read memcached values that are protocol buffers, however I always get a nil result with no error. If I set a key with a test string myself from lua-resty I can read it back. I can also echo get KEY | nc memcached_server 11211 and see that the protobuf encoded value is present. Seems like a common use case, am I missing a config option?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with memcached using a protobuf-encoded value, then compare it with a plain test string written through lua-resty-memcached. Check the client's get behavior against the raw get KEY response from nc; done means protobuf values are returned without a nil result or silent error, or the issue documents an explicit unsupported limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.