-
-
Notifications
You must be signed in to change notification settings - Fork 711
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
Update redis/go-redis to v9 #602
Conversation
We need to temporary fork the library until hibiken#602 is accepted to prevent blocking our internal development.
We need to temporary fork the library until hibiken#602 is accepted to prevent blocking our internal development.
any updates on this? :D |
Also github.com/go-redis/redis moved to github.com/redis/go-redis :) |
Version v9 implements the support for Redis v7 and has some other improvements.
bdd02fb
to
abdfea8
Compare
@khasanovbi, thanks for pointing that out! I updated the PR accordingly. |
Hi @hibiken any chance that this PR would be accepted? |
This needs to be tested for backwards compatibility with at least redis v6 (redis/go-redis#2241). |
go-redis maintainer there said |
@@ -3,8 +3,9 @@ module github.com/hibiken/asynq/x | |||
go 1.16 | |||
|
|||
require ( | |||
github.com/go-redis/redis/v8 v8.11.4 | |||
github.com/go-redis/redis/v8 v8.11.4 // indirect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v8 is still being indirectly referenced in the x folder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@l0nax please fix.
Check module used with cmd: go mod why github.com/go-redis/redis/v8
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect | ||
github.com/fsnotify/fsnotify v1.4.9 // indirect | ||
github.com/gdamore/encoding v1.0.0 // indirect | ||
github.com/go-redis/redis/v8 v8.11.4 // indirect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v8 still being referenced in the tools folder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@l0nax please fix.
Check module used with cmd: go mod why github.com/go-redis/redis/v8
There are also references of v8 in
I think these can be removed. Otherwise looks good, hope this can land fast! cc/ @hibiken |
@l0nax any update for this :D |
As far as I'm concerned, no. If there's anything I can do, feel free to reach out to me. |
@l0nax please check PR review of @kamikazechaser, I think we need completely moved to |
I merged this PR into my fork. I'll be testing it today with redis v7. Some tests need to be changed though esp around |
@kamikazechaser You can check it with |
Ah ok I see, so x/metrics needs to be updated once the main module is updated. Then the indirect reference will be removed. |
@kamikazechaser When can we merge this pull request? |
Only @hibiken can. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for delay in reviewing this PR. Once the open comments are addressed, I'll merge this PR. Thanks!
Waiting to this pull request can merge 🥳 |
@hibiken @l0nax I already fixed at fabmation-gmbh#1, help check it |
go-redis v9 add an option support ClientName, this make it better monitoring the Redis. Could you add Redis opts that allow us to add client name? |
This PR is kind of stale. Maybe I re-open my PR with the test fixes? What do you think @trungdlp-wolffun ? |
@kamikazechaser OK, I will contribute to it |
Version 9.0.1 implements the support for Redis v7.
Changelog of
redis/go-redis
can be found here: https://github.com/redis/go-redis/blob/master/CHANGELOG.md