-
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
Separate SegmentDirectoryLoader and tierBackend concepts #7737
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7737 +/- ##
============================================
+ Coverage 70.18% 71.35% +1.17%
Complexity 4034 4034
============================================
Files 1575 1575
Lines 80289 80298 +9
Branches 11938 11938
============================================
+ Hits 56353 57300 +947
+ Misses 20061 19112 -949
- Partials 3875 3886 +11
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
*/ | ||
public static SegmentDirectoryLoader getSegmentDirectoryLoader(String tierBackend) { | ||
return SEGMENT_DIRECTORY_LOADER_MAP.get(tierBackend); | ||
public static void setSegmentDirectoryLoader(String segmentDirectoryLoaderName, SegmentDirectoryLoader loader) { |
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.
👍
Right now the concept of tier storage backend and segmentDirectoryLoader have gotten mixed. Cleaning that up to have SegmentDirectoryLoader identifiable by the segment.directory.loader property and moving tier.backend and tier.properties to the table config.
Right now the concept of tier storage backend and segmentDirectoryLoader have gotten mixed. Cleaning that up to have SegmentDirectoryLoader identifiable by the
segment.directory.loader
property and movingtier.backend
andtier.properties
to the table config.