Repository navigation
fix(redis): version detection logic - #11815
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to c2aba88
Previous suggestionsSuggestions up to commit f26ac5f
Suggestions up to commit cbc41cf
|
|||||||||||||||||||||||||||||||||||||
commit: |
gioboa
left a comment
There was a problem hiding this comment.
It looks good to me 👏
is the ; at the beginning intentional ;(cache as any).detectRedisVersion() ?
to avoid typescript interpreting it as a call of the previous line RedisQueryResultCache |
mguida22
left a comment
There was a problem hiding this comment.
This fix looks good, thanks for your work on it @ibrahimmenem.
I still think it's very confusing and error prone to set redisMajorVersion to either 3 or 5, and not the exact major version number. In a future PR we should set this to the proper version update code that uses it to treat 3/4 as the same.
Thanks for the clarification 🙏 |
Co-authored-by: AdolfodelSel <[email protected]> Co-authored-by: Giorgio Boa <[email protected]> Co-authored-by: Mike Guida <[email protected]>
Co-authored-by: AdolfodelSel <[email protected]> Co-authored-by: Giorgio Boa <[email protected]> Co-authored-by: Mike Guida <[email protected]>
fix bug with redis version detection logic
cherry-pick changes from #11767
fixes #11635
fixes #11749
close #11767
close #11764
Description of change
Pull-Request Checklist