Skip to content

Commit

Permalink
Remove commented-out alternative vnode placement code
Browse files Browse the repository at this point in the history
  • Loading branch information
shanicky committed Apr 10, 2024
1 parent a34375a commit 738db9a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/common/src/vnode_mapping/vnode_placement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ pub fn place_vnode(
.filter(|w| w.property.as_ref().map_or(false, |p| p.is_serving))
.sorted_by_key(|w| w.id)
.map(|w| (0..w.parallel_units.len()).map(|idx| WorkerSlot(w.id, idx)))
//.map(|w| w.parallel_units.clone().into_iter().sorted_by_key(|p| p.id))
.collect();

// Set serving parallelism to the minimum of total number of parallel units, specified
Expand Down

0 comments on commit 738db9a

Please sign in to comment.