-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fix parsing of garbage input to get_event_ids #45
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #45 +/- ##
==========================================
- Coverage 71.52% 71.36% -0.16%
==========================================
Files 13 13
Lines 1366 1369 +3
==========================================
Hits 977 977
- Misses 389 392 +3 ☔ View full report in Codecov by Sentry. |
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.
So, I suppose the RetryError
is just a signal to the client code that it should attempt to retry the operation?
0d0da84
to
2784aba
Compare
Yes. That's usually sufficient, though howitz actually counts these and can act on there being very many of them. |
76f4a95
to
291af29
Compare
291af29
to
6dd466d
Compare
I checked in Howitz and not all RetryErrors lead to automatic retry. Created a separate issue for it Uninett/Howitz#62 |
Garbage response from ZIno can often be emulated by setting f.e. |
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.
Should RetryError
be raised on history fetch as well?
Not in this alpha :) The error has never happened for history fetch, for some reason. |
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.
Test coverage is too low, but it works nice so approve it as is for alpha 👍
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Depends on #44.
Handles the following exception better:
The ProtocolError is replaced with a RetryError.