-
Notifications
You must be signed in to change notification settings - Fork 1.5k
notify servers that need to move segments to new tiers via SegmentReloadMessage #9624
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -184,10 +184,8 @@ public static class ControllerPeriodicTasksConf { | |
| "controller.realtimeSegmentRelocation.initialDelayInSeconds"; | ||
| public static final String SEGMENT_RELOCATOR_INITIAL_DELAY_IN_SECONDS = | ||
| "controller.segmentRelocator.initialDelayInSeconds"; | ||
| public static final String SEGMENT_TIER_ASSIGNER_FREQUENCY_PERIOD = | ||
| "controller.segmentTierAssigner.frequencyPeriod"; | ||
| public static final String SEGMENT_TIER_ASSIGNER_INITIAL_DELAY_IN_SECONDS = | ||
| "controller.segmentTierAssigner.initialDelayInSeconds"; | ||
| public static final String SEGMENT_RELOCATOR_ENABLE_LOCAL_TIER_MIGRATION = | ||
|
||
| "controller.segmentRelocator.enableLocalTierMigration"; | ||
|
|
||
| // The flag to indicate if controller periodic job will fix the missing LLC segment deep store copy. | ||
| // Default value is false. | ||
|
|
@@ -615,11 +613,9 @@ public void setStatusCheckerWaitForPushTimeInSeconds(int statusCheckerWaitForPus | |
| } | ||
|
|
||
| /** | ||
| * RealtimeSegmentRelocator has been rebranded to SegmentRelocator. Returns | ||
| * <code>controller.segment.relocator.frequencyInSeconds</code> or <code>controller.segment.relocator | ||
| * .frequencyInSeconds</code> | ||
| * or REALTIME_SEGMENT_RELOCATOR_FREQUENCY, in the order of decreasing perference (left -> | ||
| * right). | ||
| * RealtimeSegmentRelocator has been rebranded to SegmentRelocator. Returns <code>controller.segment.relocator | ||
| * .frequencyPeriod</code> or <code>controller.segment.relocator .frequencyInSeconds</code> or | ||
| * REALTIME_SEGMENT_RELOCATOR_FREQUENCY, in the order of decreasing perference (left -> right). | ||
| */ | ||
| public int getSegmentRelocatorFrequencyInSeconds() { | ||
| return Optional.ofNullable(getProperty(ControllerPeriodicTasksConf.SEGMENT_RELOCATOR_FREQUENCY_PERIOD)) | ||
|
|
@@ -854,15 +850,8 @@ public long getSegmentRelocatorInitialDelayInSeconds() { | |
| return segmentRelocatorInitialDelaySeconds; | ||
| } | ||
|
|
||
| public int getSegmentTierAssignerFrequencyInSeconds() { | ||
| return Optional.ofNullable(getProperty(ControllerPeriodicTasksConf.SEGMENT_TIER_ASSIGNER_FREQUENCY_PERIOD)) | ||
| .map(period -> (int) convertPeriodToSeconds(period)) | ||
| .orElse(ControllerPeriodicTasksConf.DEFAULT_SEGMENT_TIER_ASSIGNER_FREQUENCY_IN_SECONDS); | ||
| } | ||
|
|
||
| public long getSegmentTierAssignerInitialDelayInSeconds() { | ||
| return getProperty(ControllerPeriodicTasksConf.SEGMENT_TIER_ASSIGNER_INITIAL_DELAY_IN_SECONDS, | ||
| ControllerPeriodicTasksConf.getRandomInitialDelayInSeconds()); | ||
| public boolean enableSegmentRelocatorLocalTierMigration() { | ||
| return getProperty(ControllerPeriodicTasksConf.SEGMENT_RELOCATOR_ENABLE_LOCAL_TIER_MIGRATION, false); | ||
| } | ||
|
|
||
| public long getPeriodicTaskInitialDelayInSeconds() { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.