-
Notifications
You must be signed in to change notification settings - Fork 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
fix(admin): fix snwatcher handle heartbeat timeout #1070
Conversation
9e54fd2
to
8c3a241
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1070 +/- ##
==========================================
- Coverage 79.71% 79.35% -0.37%
==========================================
Files 178 178
Lines 21564 21637 +73
==========================================
- Hits 17190 17170 -20
- Misses 3591 3674 +83
- Partials 783 793 +10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This change fixes an issue where not all expected logstreams could be sealed within HandleHeartbeatTimeout due to storagenode delaying the response. Also fixes an issue where unexpected logstreams were being sealed by heartbeat false positives. In particular, it increases the priority of seal requests for metarepos so that commit results in metarepos do not pile up even if sealing is delayed.
8c3a241
to
ba419aa
Compare
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.
Nice work!
What this PR does
Which issue(s) this PR resolves
This change fixes an issue where not all expected logstreams could be sealed within HandleHeartbeatTimeout due to storagenode delaying the response. Also fixes an issue where unexpected logstreams were being sealed by heartbeat false positives. In particular, it increases the priority of seal requests for metarepos so that commit results in metarepos do not pile up even if sealing is delayed.
Resolves #1068 #1069
Anything else
Include any links or documentation that might be helpful for reviewers.