From a16a437ef752a6aeaa76ccc7dd047de61fcc1814 Mon Sep 17 00:00:00 2001 From: Paul Masurel Date: Fri, 21 Jun 2024 15:35:07 +0900 Subject: [PATCH] solution --- .../src/indexing_scheduler/scheduling/mod.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/quickwit/quickwit-control-plane/src/indexing_scheduler/scheduling/mod.rs b/quickwit/quickwit-control-plane/src/indexing_scheduler/scheduling/mod.rs index 2835cff386c..26d9f2c1032 100644 --- a/quickwit/quickwit-control-plane/src/indexing_scheduler/scheduling/mod.rs +++ b/quickwit/quickwit-control-plane/src/indexing_scheduler/scheduling/mod.rs @@ -643,9 +643,15 @@ pub fn build_physical_indexing_plan( convert_physical_plan_to_solution(previous_plan, &id_to_ord_map, &mut previous_solution); } + println!("------------------------"); + println!("problem={:?}", problem); + println!("previous_solution={:?}", previous_solution); + // Compute the new scheduling solution using a heuristic. let new_solution = scheduling_logic::solve(problem, previous_solution); + println!("solution={:?}", new_solution); + // Convert the new scheduling solution back to a physical plan. let new_physical_plan = convert_scheduling_solution_to_physical_plan( &new_solution,