Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis::Client#mget returning "OK", rather than an Array #1294

Open
nick96 opened this issue Oct 1, 2024 · 0 comments
Open

Redis::Client#mget returning "OK", rather than an Array #1294

nick96 opened this issue Oct 1, 2024 · 0 comments

Comments

@nick96
Copy link

nick96 commented Oct 1, 2024

We're seeing "OK" being returned in response to a call to Redis::Client#mget. This results in a #<TypeError: wrong argument type String (must respond to :each)> as we're then trying to call Array#zip to zip the keys with their value. From our logs I can see this started happening in January of this year when we upgraded the redis gem from 5.0.6 to 5.0.8 and was happening up until we downgraded to 5.0.6 a few weeks ago.

With the downgrade our Gemfile.lock looks like:

redis (5.0.6)
  redis-client (>= 0.9.0)
redis-client (0.12.1)
  connection_pool

Previously, at 5.0.8 it looked like:

redis (5.0.8)
  redis-client (>= 0.17.0)
redis-client (0.19.1)
  connection_pool

We were also seeing this issue with the latest version, 5.3.0:

redis (5.3.0)
  redis-client (>= 0.22.0)
redis-client (0.22.2)
  connection_pool

I'm not sure if it has the same cause as #925, the result of an auth request being returned, but the symptoms look similar.

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

No branches or pull requests

1 participant