-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Refine PeerServerSegmentFinder #12933
Refine PeerServerSegmentFinder #12933
Conversation
onlineServerURIs); | ||
return !onlineServerURIs.isEmpty(); | ||
}); | ||
} catch (AttemptsExceededException e) { | ||
LOGGER.error("Failed to find ONLINE servers for segment: {}, table: {}", segmentName, tableNameWithType); |
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.
nit: "Failed to ... in {} attempts", ..., MAX_NUM_ATTEMPTS)
to make error msg a bit more clear
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.
Done
58e3057
to
246d07f
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #12933 +/- ##
=============================================
- Coverage 61.75% 35.16% -26.59%
+ Complexity 207 6 -201
=============================================
Files 2436 2428 -8
Lines 133233 132837 -396
Branches 20636 20568 -68
=============================================
- Hits 82274 46713 -35561
- Misses 44911 82740 +37829
+ Partials 6048 3384 -2664
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
246d07f
to
dc470e5
Compare
Separated from #12886 for easier review
PeerServerSegmentFinder