Skip to content

Cluster - Moved/Ask Redirection Not Working Properly. #1693

@Tbone542

Description

@Tbone542

Expected behaviour

Running a cluster and using the slot cache. When I migrate keys I would expect the slot cache to update if it receives an ASK or MOVE.

Actual behaviour

Upon requesting the data from a key on a migrated slot, the cache does not seem to update and continually requests keys from the wrong node. If I restart apache the slot cache is refreshed and works fine.

Update: It appears ASK and MOVE redirects are not being handled properly.

I'm seeing this behaviour on

  • OS: linux
  • Redis: 5.05
  • PHP: 7.1
  • phpredis: 5.0.2 and 5.1.1

Steps to reproduce, backtrace or example script

I've checked

  • [ x ] There is no similar issue from other users
  • [ x ] Issue isn't fixed in develop branch

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions