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

Add support for redis 5.0.0 by replacing pipelined commands. #56

Merged
merged 1 commit into from
May 19, 2022

Conversation

jmpage
Copy link
Contributor

@jmpage jmpage commented May 19, 2022

What did we change?

This change alters the bulk_push implementation so that it no longer uses pipelined commands, which are now deprecated.

Why are we doing this?

Resolves #54

Deprecation warnings for pipelined commands were introduced in redis 4.6.0

These warnings contribute to a large increase in log volume with newer versions of the redis gem.

How was it tested?

  • Specs
  • Locally
  • Staging

@jmpage jmpage requested a review from rusterholz May 19, 2022 13:51
@jmpage jmpage requested a review from a team as a code owner May 19, 2022 13:51
@jmpage jmpage requested a review from phantompatrol May 19, 2022 13:52
Copy link
Contributor

@agrobbin agrobbin left a comment

Choose a reason for hiding this comment

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

I'm personally really happy that the redis gem maintainers changed this, I always found it incredibly confusing!

Copy link
Contributor

@rusterholz rusterholz left a comment

Choose a reason for hiding this comment

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

Thanks!

I'd be happy to release these changes along with my compatibility fix for sidekiq 6.4.2 in a couple of days, if you don't feel like releasing right now.

@jmpage
Copy link
Contributor Author

jmpage commented May 19, 2022

@rusterholz that would be great, thank you!

@jmpage jmpage merged commit 3de1e67 into master May 19, 2022
@jmpage jmpage deleted the jmp-redis-5-compatibility branch May 19, 2022 17:43
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

Successfully merging this pull request may close these issues.

Redis 5.0.0 compatibility
4 participants