Skip to content

Commit

Permalink
Sending the right message in indexing service
Browse files Browse the repository at this point in the history
  • Loading branch information
fulmicoton committed Oct 10, 2024
1 parent 1d7b57f commit 3c67952
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion quickwit/quickwit-indexing/src/actors/indexing_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ use tracing::{debug, error, info, warn};

use super::merge_pipeline::{MergePipeline, MergePipelineParams};
use super::{MergePlanner, MergeSchedulerService};
use crate::actors::merge_pipeline::FinishPendingMergesAndShutdownPipeline;
use crate::models::{DetachIndexingPipeline, DetachMergePipeline, ObservePipeline, SpawnPipeline};
use crate::source::{AssignShards, Assignment};
use crate::split_store::{LocalSplitStore, SplitStoreQuota};
Expand Down Expand Up @@ -517,7 +518,7 @@ impl IndexingService {
merge_pipeline_handle
.handle
.mailbox()
.send_message(Command::Quit)
.send_message(FinishPendingMergesAndShutdownPipeline)
.await
.expect("merge pipeline mailbox should not be full");
}
Expand Down

0 comments on commit 3c67952

Please sign in to comment.