Skip to content

RedisCluster - Wrong data has been returned with (FAILOVER_DISTRIBUTE) mode #2324

Open

Description

@VadimZavgorodny

Actual behaviour(Problem)

Redis return data from another key
The problem start reproduced after changing failover mode to FAILOVER_DISTRIBUTE during high-load

I'm seeing this behaviour on

  • OS: Testes on (debian 11/ubuntu:20.04)
  • Redis: 7.0.5
  • PHP: 8.1
  • phpredis: 5.3.3 - latest. (below version not checked)

Steps to reproduce, backtrace or example script

Video with wrong behavior: https://youtu.be/cQ41leNa_iU

  1. Set up containers from example(source with docker has been sent to p.yatsukhnenko@gmail.com and n.favrefelix@gmail.com)
  2. Run load test for i in {1..3}; do hey -m GET -n 500 -c 40 http://redis-issue.loc:8080/; done
  3. During the load test pause/unpause any container with a slave node
  4. See error log file :Returned data don't match received key
    Debug JSON parsing Time: 2023-02-04 19:53:55.133155 +00:00

I've checked

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions