Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: quickwit-oss/quickwit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d916e2c4aa57b20b63155049af7f39751e0da46a
Choose a base ref
..
head repository: quickwit-oss/quickwit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0b8d8211eedb379e6607a4d9a6ae0bb5b7159add
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 quickwit/quickwit-search/src/search_job_placer.rs
2 changes: 1 addition & 1 deletion quickwit/quickwit-search/src/search_job_placer.rs
Original file line number Diff line number Diff line change
@@ -79,7 +79,7 @@ impl EventSubscriber<ReportSplitsRequest> for SearchJobPlacer {
let node_addr = nodes
.keys()
.max_by_key(|node_addr| {
node_affinity(SocketAddrLegacyHash(*node_addr), &report_split.split_id)
node_affinity(SocketAddrLegacyHash(node_addr), &report_split.split_id)
})
// This actually never happens thanks to the if-condition at the
// top of this function.