-
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
Modify segment metadata call #14250
base: master
Are you sure you want to change the base?
Modify segment metadata call #14250
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #14250 +/- ##
============================================
+ Coverage 61.75% 63.91% +2.16%
- Complexity 207 1608 +1401
============================================
Files 2436 2704 +268
Lines 133233 150979 +17746
Branches 20636 23330 +2694
============================================
+ Hits 82274 96496 +14222
- Misses 44911 47261 +2350
- Partials 6048 7222 +1174
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
3306b07
to
c489750
Compare
9eec4d1
to
a0d35af
Compare
@Produces(MediaType.APPLICATION_JSON) | ||
@ApiOperation(value = "Get the server metadata for all table segments", | ||
notes = "Get the server metadata for all table segments") | ||
public String getServerSegmentsMetadata( |
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.
What is the difference between this one and the original one?
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.
It makes one call per server whereas segments/{tableName}/metadata
makes 1 call per segment to fetch the metadata
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.
Am I mis-reading? Seems this one is exactly the same as the deprecated one
a0d35af
to
5fbbf22
Compare
3a416fc
to
4b2ac8a
Compare
Fixes #13990
The fetch segment metadata call for a table makes one call per segment, instead we can have one call per server