File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
quickwit/quickwit-control-plane/src/indexing_scheduler/scheduling Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -305,10 +305,12 @@ fn place_unassigned_shards_ignoring_affinity(
305
305
match attempt_place_unassigned_shards ( & unassigned_shards[ ..] , & problem, partial_solution) {
306
306
Ok ( mut solution) => {
307
307
// the higher the attempt number, the more unbalanced the solution
308
- tracing:: warn!(
309
- attempt_number = attempt_number,
310
- "capacity re-scaled, scheduling solution likely unbalanced"
311
- ) ;
308
+ if attempt_number > 0 {
309
+ tracing:: warn!(
310
+ attempt_number = attempt_number,
311
+ "capacity re-scaled, scheduling solution likely unbalanced"
312
+ ) ;
313
+ }
312
314
solution. capacity_scaling_iterations = attempt_number;
313
315
return solution;
314
316
}
You can’t perform that action at this time.
0 commit comments