-
Notifications
You must be signed in to change notification settings - Fork 0
[SF-11323] disallow sending command getkeys #7
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
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.
LGTM
4.5 and above introduced a command packer, so we would have to rewrite the code, when we plan to upgrade to 4.5
redis-py claims that 4.5 has over 25% performance boost in write
https://github.com/redis/redis-py/releases/tag/v4.5.0
please fix the style to pass the linter |
Also tests for |
I am wary about that other library which uses redis client directly crashes the redis server... So that's the why I implemented this logic here |
Do we have plan to upgrade to 4.5? |
i was working on it without a definitive due date. The current approach doesn't hurt upgradability, but just requires a code patch.
if that's the worry, the current code may be the best guarantee. If so, we can fix the tests that are failing in this repo :) |
hmm hard to find which tests are failing due to this patch. any idea? |
you can take a look at the result of the github actions for example, https://github.com/sendbird/redis-py/actions/runs/5551140608/jobs/10136956857?pr=7 contains one of the test results. Tests that failed from |
Sigh... too many |
71d3363
to
c872af5
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## 4.4 #7 +/- ##
==========================================
- Coverage 60.80% 60.60% -0.21%
==========================================
Files 116 116
Lines 29840 29922 +82
==========================================
- Hits 18144 18133 -11
- Misses 11696 11789 +93
☔ View full report in Codecov by Sentry. |
@zach-iee please review one more time |
Pull Request check-list
Please make sure to review and check all of these items:
$ tox
pass with this change (including linting)?NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.
Description of change
Please provide a description of the change here.