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 JSONDecodeError
in JournalStorage
#5195
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #5195 +/- ##
==========================================
- Coverage 89.41% 89.35% -0.07%
==========================================
Files 206 206
Lines 15175 15106 -69
==========================================
- Hits 13569 13498 -71
- Misses 1606 1608 +2 ☔ View full report in Codecov by Sentry. |
Hi thanks for fixing this. I just did a test run of this branch on the cluster with 100 parallel workers and observed no more crashes :-) |
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.
Thank you for your pull request. I left two comments.
Co-authored-by: c-bata <c-bata@users.noreply.github.com>
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.
The changes look good to me, but a second thorough review would be helpful.
Co-authored-by: c-bata <c-bata@users.noreply.github.com>
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. Thanks for the update!
Co-authored-by: Naoto Mizuno <gobou522@gmail.com>
I applied all the comments. PTAL. |
Sorry, I realize that my previous comment (using |
This reverts commit d0d6ffa.
I see. I've reverted the change. |
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.
Thank you for the update. LGTM.
JSONDecodeError
in JournalStorage
Motivation
JSONDecodeError
inJournalStorage
#5138Description of the changes
remaining_log_size
to allow writing by another process while reading the log.