Skip to content

Commit

Permalink
Refactor SegmentLoadDropHandler code (#16685)
Browse files Browse the repository at this point in the history
Motivation:
- Improve code hygeiene
- Make `SegmentLoadDropHandler` easily extensible

Changes:
- Add `SegmentBootstrapper`
- Move code for bootstrapping segments already cached on disk and fetched from coordinator to
`SegmentBootstrapper`.
- No functional change
- Use separate executor service in `SegmentBootstrapper`
- Bind `SegmentBootstrapper` to `ManageLifecycle` explicitly in `CliBroker`, `CliHistorical` etc.
  • Loading branch information
abhishekrb19 committed Jul 8, 2024
1 parent c6c2652 commit bf2be93
Show file tree
Hide file tree
Showing 15 changed files with 1,001 additions and 769 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import com.google.common.base.Preconditions;

import javax.annotation.Nullable;

import java.util.List;

/**
Expand Down
Loading

0 comments on commit bf2be93

Please sign in to comment.