Skip to content

Commit

Permalink
Refactor logging in ClusterManager with tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
shanicky committed Jan 30, 2024
1 parent b4897d6 commit d95a062
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/meta/src/manager/cluster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,11 @@ impl ClusterManager {
let mut new_worker = worker.clone();
match old_worker_parallelism.cmp(&new_worker_parallelism) {
Ordering::Less => {
println!(
tracing::info!(
"worker {} parallelism updated from {} to {}",
new_worker.worker_node.id, old_worker_parallelism, new_worker_parallelism
new_worker.worker_node.id,
old_worker_parallelism,
new_worker_parallelism
);
let parallel_units = self
.generate_cn_parallel_units(
Expand Down

0 comments on commit d95a062

Please sign in to comment.