Closed
Description
Issue tracker is used for reporting bugs and discussing new features. Please use
stackoverflow for supporting issues.
Expected Behavior
golang client connects to redis.
If the server does not support CLIENT SETINFO
, the golang client shouldn't try to use it, or should at least not error on connection.
Current Behavior
Upon the first command:
ERR unknown subcommand 'setinfo'. Try CLIENT HELP.
Possible Solution
opt.DisableIndentity = true
Steps to Reproduce
- Make a hello world app using v9.5.0 redis client, and connect to a recent but not totally current redis such as 7.1.0
- Run it
https://goplay.tools/snippet/rbwI-UrfSkd
Won't run on goplay.tools because there are too many packages to download. Copy the code into a local scratch folder and run it.
Context (Environment)
Apps don't start up, I had to revert to 9.4.0
Detailed Description
This is caused by 9.5.0 change that moves LibraryInfo logic into a pipeline. The prior code did not check for errors. Now it fails the startup pipeline.
Possible Implementation
Metadata
Metadata
Assignees
Labels
No labels