Skip to content

Allow blocked XREAD on a cluster replica#7881

Merged
oranagra merged 2 commits intoredis:unstablefrom
oranagra:blocked_xread_on_replica
Oct 6, 2020
Merged

Allow blocked XREAD on a cluster replica#7881
oranagra merged 2 commits intoredis:unstablefrom
oranagra:blocked_xread_on_replica

Conversation

@oranagra
Copy link
Member

@oranagra oranagra commented Oct 4, 2020

I suppose that it was overlooked, since till recently none of the blocked commands were readonly.
Fixes #7877

Tested manually.
@madolson if you think that i'm going the right way, i'll add a test for that.

@madolson
Copy link
Contributor

madolson commented Oct 6, 2020

I don't see any problem with this, a test would be nice.

@oranagra oranagra added backport-candidate release-notes indication that this issue needs to be mentioned in the release notes labels Oct 6, 2020
- add better support for additional (and deferring) clients for
  cluster tests
- improve a test which left the client in MULTI state.
@oranagra
Copy link
Member Author

oranagra commented Oct 6, 2020

@madolson please review. (it suxx how much the cluster tests infra is inferior to the normal test infra)

Copy link
Contributor

@madolson madolson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@oranagra oranagra merged commit 216c110 into redis:unstable Oct 6, 2020
@oranagra oranagra deleted the blocked_xread_on_replica branch October 6, 2020 18:43
@oranagra oranagra mentioned this pull request Oct 26, 2020
oranagra added a commit that referenced this pull request Oct 27, 2020
I suppose that it was overlooked, since till recently none of the blocked commands were readonly.

other changes:
- add test for the above.
- add better support for additional (and deferring) clients for
  cluster tests
- improve a test which left the client in MULTI state.

(cherry picked from commit 216c110)
oranagra added a commit that referenced this pull request Oct 27, 2020
I suppose that it was overlooked, since till recently none of the blocked commands were readonly.

other changes:
- add test for the above.
- add better support for additional (and deferring) clients for
  cluster tests
- improve a test which left the client in MULTI state.

(cherry picked from commit 216c110)
JackieXie168 pushed a commit to JackieXie168/redis that referenced this pull request Nov 4, 2020
I suppose that it was overlooked, since till recently none of the blocked commands were readonly.

other changes:
- add test for the above.
- add better support for additional (and deferring) clients for
  cluster tests
- improve a test which left the client in MULTI state.
jschmieg pushed a commit to memKeyDB/memKeyDB that referenced this pull request Nov 6, 2020
I suppose that it was overlooked, since till recently none of the blocked commands were readonly.

other changes:
- add test for the above.
- add better support for additional (and deferring) clients for
  cluster tests
- improve a test which left the client in MULTI state.

(cherry picked from commit 216c110)
pulllock pushed a commit to pulllock/redis that referenced this pull request Jun 28, 2023
I suppose that it was overlooked, since till recently none of the blocked commands were readonly.

other changes:
- add test for the above.
- add better support for additional (and deferring) clients for
  cluster tests
- improve a test which left the client in MULTI state.

(cherry picked from commit 216c110)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes indication that this issue needs to be mentioned in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Blocking reads don't work on Redis Cluster replica nodes

2 participants