-
Notifications
You must be signed in to change notification settings - Fork 338
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
Issue/4469 limit concurrent merges #4473
Conversation
032cd0c
to
e68efc6
Compare
type ObservableState = MergePlannerState; | ||
|
||
fn observable_state(&self) -> Self::ObservableState { | ||
let ongoing_merge_operations = self |
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.
we now measure the number of onegoing merge operation in the merge scheduler.
@@ -359,21 +354,12 @@ impl MergePlanner { | |||
let tracked_merge_operation = self | |||
.ongoing_merge_operations_inventory | |||
.track(merge_operation); | |||
if let Err(try_send_err) = self |
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.
That contraption was meant to avoid scheduling several large merge in a row.
4e80b24
to
eb3a5a2
Compare
2e56780
to
e20cf82
Compare
quickwit/quickwit-indexing/src/actors/merge_scheduler_service.rs
Outdated
Show resolved
Hide resolved
quickwit/quickwit-indexing/src/actors/merge_scheduler_service.rs
Outdated
Show resolved
Hide resolved
quickwit/quickwit-indexing/src/actors/merge_scheduler_service.rs
Outdated
Show resolved
Hide resolved
quickwit/quickwit-indexing/src/actors/merge_scheduler_service.rs
Outdated
Show resolved
Hide resolved
6f83d6f
to
af3822b
Compare
f6abbb1
to
079ee8f
Compare
Co-authored-by: Adrien Guillo <adrien@quickwit.io>
079ee8f
to
e9e047d
Compare
Introducing the merge scheduler to schedule merge operation in a global manner.
Closes #4469
Closes #4471
It was tested on a 10 pod cluster indexing 1000 indexes.