-
Notifications
You must be signed in to change notification settings - Fork 472
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
build: migrate go-redis/redis to redis/go-redis #1446
Conversation
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.
update the go-redis package to support more redis commands.
What does it mean? What commands do you want to test later? In this patch, it doesn't use new commands, and we're not serving with redis-go.
@tisonkun I modify the issue. |
1. Upgrade redis-go to v9.0.4 2. migrate go-redis/redis to redis/go-redis Signed-off-by: clundro <infdahai@outlook.com>
BTW, mabe we can create a template for pull requests and it increases readability for code reviewers, such as risingwave pr_template or clickhouse pr_template(for changelogs). |
You're free to make your suggestion and patch, while I never find a long template help. Patches varies from one another and I tend to trust the author to fill necessary info. Also, the reviewers can give their suggestions. |
update the go-redis package to support more redis commands and migrate go-redis packages.
What's changed and what's your intention?
And more specifically, I want to use bzpop<max|min|null>, <z|s>intercard, zmpop go APIs to write some go-unit tests for supporting the more commands from
zset
orset
inkvrocks
. These commands from redis(version >= 6.2) are not implemented in this project.Due to is redis/go-version is a new version for go-redis/redis redis/go-redis#2560 (comment), we should use
replace
ingo.mod
or change"github.com/go-redis/redis/v9"
from import-blocks in go files.The latter is more similar to contribsys/faktory@4454c4a and I prefer to try this based on Used for two different module paths error in go mod tidy golang-jwt/jwt#37 (comment).