-
Notifications
You must be signed in to change notification settings - Fork 112
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
Rest API redis error: wrong number of arguments for 'mget' command #8606
Rest API redis error: wrong number of arguments for 'mget' command #8606
Conversation
Signed-off-by: Jeff Schmidt <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8606 +/- ##
============================================
- Coverage 92.52% 92.40% -0.13%
- Complexity 7372 7489 +117
============================================
Files 895 914 +19
Lines 29553 29856 +303
Branches 3610 3641 +31
============================================
+ Hits 27345 27588 +243
- Misses 1387 1442 +55
- Partials 821 826 +5 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Jeff Schmidt <[email protected]>
Signed-off-by: Jeff Schmidt <[email protected]>
Quality Gate passedIssues Measures |
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.
Looks good
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
Description:
It appears the following redis error happens quite frequently in
testnet
:If the keys provided to
mget()
,mgetBuffer()
etc are empty, then the behavior is to throw this error. There are a few opportunities fortransactions.getTransactionTimestamps()
to return empty rows. It seems reasonable forcache.get()
to look for this condition.Related issue(s):
Fixes #8587
Notes for reviewer:
Checklist