Skip to content

Commit

Permalink
debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
fulmicoton committed Dec 19, 2023
1 parent 2bf0581 commit 47f6a7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions quickwit/quickwit-control-plane/src/control_plane.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ impl Handler<ControlPlanLoop> for ControlPlane {
_message: ControlPlanLoop,
ctx: &ActorContext<Self>,
) -> Result<(), ActorExitStatus> {
self.indexing_scheduler.schedule_indexing_plan_if_needed(&self.model);
self.indexing_scheduler.control_running_plan(&self.model);
ctx.schedule_self_msg(CONTROL_PLAN_LOOP_INTERVAL, ControlPlanLoop)
.await;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ impl IndexingScheduler {
return;
}
}
self.apply_physical_indexing_plan(&mut indexers, new_physical_plan);
// self.apply_physical_indexing_plan(&mut indexers, new_physical_plan);
self.state.num_schedule_indexing_plan += 1;
}

Expand Down Expand Up @@ -258,6 +258,9 @@ impl IndexingScheduler {
})
.collect();

debug!(running_plan=?running_indexing_tasks_by_node_id, "running plan");
debug!(last_applied_plan=?last_applied_plan.indexing_tasks_per_indexer(), "last applied plan");

let indexing_plans_diff = get_indexing_plans_diff(
&running_indexing_tasks_by_node_id,
last_applied_plan.indexing_tasks_per_indexer(),
Expand Down

0 comments on commit 47f6a7a

Please sign in to comment.