Skip to content
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

refactor(storage): trigger uploader sync on SyncEpoch event #17113

Merged
merged 16 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
353 changes: 189 additions & 164 deletions src/storage/src/hummock/event_handler/hummock_event_handler.rs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/storage/src/hummock/event_handler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub enum HummockEvent {
/// An epoch is going to be synced. Once the event is processed, there will be no more flush
/// task on this epoch. Previous concurrent flush task join handle will be returned by the join
/// handle sender.
AwaitSyncEpoch {
SyncEpoch {
new_sync_epoch: HummockEpoch,
sync_result_sender: oneshot::Sender<HummockResult<SyncResult>>,
},
Expand Down Expand Up @@ -107,7 +107,7 @@ impl HummockEvent {
match self {
HummockEvent::BufferMayFlush => "BufferMayFlush".to_string(),

HummockEvent::AwaitSyncEpoch {
HummockEvent::SyncEpoch {
new_sync_epoch,
sync_result_sender: _,
} => format!("AwaitSyncEpoch epoch {} ", new_sync_epoch),
Expand Down
Loading
Loading