-
Notifications
You must be signed in to change notification settings - Fork 333
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
feat: introduce the interface of RemoteJobScheduler
#4181
Merged
sunng87
merged 72 commits into
GreptimeTeam:main
from
zyy17:feat/add-experimental-remote-job-scheduler
Jul 2, 2024
Merged
Changes from all commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
0d5b790
refactor: add Compactor trait
zyy17 a91c5d6
chore: add compact() in Compactor trait and expose compaction module
zyy17 37b0464
refactor: add CompactionRequest and open_compaction_region
zyy17 014bc22
refactor: export the compaction api
zyy17 f9d1e66
refactor: add DefaultCompactor::new_from_request
zyy17 3eb0dab
refactor: no need to pass mito_config in open_compaction_region()
zyy17 8cd55a2
refactor: CompactionRequest -> &CompactionRequest
zyy17 891426d
fix: typo
zyy17 8ff9c6f
docs: add docs for public apis
zyy17 acabc07
refactor: remove 'Picker' from Compactor
zyy17 de8496c
chore: add logs
zyy17 6bee93e
chore: change pub attribute for Picker
zyy17 a63c9f5
refactor: remove do_merge_ssts()
zyy17 3a360c0
refactor: update comments
zyy17 35feb02
refactor: use CompactionRegion argument in Picker
zyy17 55033f9
chore: make compaction module public and remove unnessary clone
zyy17 15c102c
refactor: move build_compaction_task() in CompactionScheduler{}
zyy17 8ad6fff
chore: use in open_compaction_region() and add some comments for pub…
zyy17 26ae2a9
refactor: add 'manifest_dir()' in store-api
zyy17 9a05b6a
refactor: move the default implementation to DefaultCompactor
zyy17 130fb90
refactor: remove Options from MergeOutput
zyy17 e141e91
chore: minor modification
zyy17 e3e6f12
fix: clippy errors
zyy17 93f5a74
fix: unit test errors
zyy17 17bf852
refactor: remove 'manifest_dir()' from store-api crate(already have o…
zyy17 48f9398
refactor: use 'region_dir' in CompactionRequest
zyy17 2f6d9ef
refactor: refine naming
zyy17 861ea41
chore: sync main branch
zyy17 d26c64a
refactor: refine naming
zyy17 4968186
refactor: remove clone()
zyy17 574fd9f
chore: add comments
zyy17 77c085c
refactor: add PickerOutput field in CompactorRequest
zyy17 f8d88a2
chore: sync main branch
zyy17 f92c729
feat: introduce RemoteJobScheduler
zyy17 c0c7b6d
feat: add RemoteJobScheudler in schedule_compaction_request()
zyy17 84a8ff7
refactor: use Option type for senders field of CompactionFinished
zyy17 f421d08
refactor: modify CompactionJob
zyy17 6f24668
refactor: schedule remote compaction job by options
zyy17 cbe2115
refactor: remove unused Options
zyy17 66ee079
build: remove unused log
zyy17 3c183ff
refactor: fallback to local compaction if the remote compaction failed
zyy17 90a4794
fix: clippy errors
zyy17 c67b9ad
chore: sync main branch
zyy17 0f5c4d3
refactor: add plugins in mito2
zyy17 6ffdae2
refactor: add from_u64() for JobId
zyy17 06fc1e4
refactor: make schedule module public
zyy17 01b20b2
refactor: add error for RemoteJobScheduler
zyy17 b740c41
refactor: add Notifier
zyy17 4404973
refactor: use Arc for Notifier
zyy17 25bfdf9
chore: sync main branch
zyy17 1d6efa4
refactor: add 'remote_compaction' in compaction options
zyy17 07459d3
fix: clippy errors
zyy17 d08b56e
fix: unrecognized table option
zyy17 840e642
refactor: add 'start_time' in CompactionJob
zyy17 fc0e927
refactor: modify error type of RemoteJobScheduler
zyy17 2731e76
Merge branch 'main' into feat/add-experimental-remote-job-scheduler
zyy17 1a8a742
chore: revert changes for request
zyy17 bf55576
refactor: code refactor by review comment
zyy17 617f8f4
refactor: use string type for JobId
zyy17 f220543
Merge branch 'main' into feat/add-experimental-remote-job-scheduler
zyy17 2f92206
refactor: add 'waiters' field in DefaultNotifier
zyy17 fbef517
fix: build error
zyy17 613edc8
refactor: take coderabbit's review comment
zyy17 4e3ccdf
refactor: use uuid::Uuid as JobId
zyy17 d299592
refactor: return waiters when schedule failed and add on_failure for …
zyy17 ca1c8fa
refactor: move waiters from notifier to Job
zyy17 5246a22
refactor: use ObjectStoreManagerRef in open_compaction_region()
zyy17 a9b2d5e
Merge branch 'main' into feat/add-experimental-remote-job-scheduler
zyy17 6800383
refactor: implement for JobId and adds related unit tests
zyy17 6502caa
fix: run unit tests failed
zyy17 305ee27
Merge branch 'main' into feat/add-experimental-remote-job-scheduler
zyy17 0f9335d
refactor: add RemoteJobSchedulerError
zyy17 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.