steve0511 / resty-redis-cluster

Openresty lua client for redis cluster.
Apache License 2.0
376 stars 134 forks source link

Fix endless moved redirections, connection leak and others #100

Open orelmaliach opened 2 years ago

orelmaliach commented 2 years ago
  1. Fix weird case where redis connection returns MOVED response to the same node from which the data was fetched- closing the TCP socket resolves the issue.
  2. Fix a potential connection leak in case of node failure or cluster down.
  3. Fix ASK redirection resulting in an extra redirection attempt.
  4. Fix key in case of "eval" or "evalsha" command with 0 keys.
  5. Fix handling of failure to parse ASK signal when it came from a pipeline result.
  6. Refactor, reformat, fix typos.