fix: Return querier sharding to use sequencer ID

pull/24376/head
Carol (Nichols || Goulding) 2022-08-19 15:13:32 -04:00
parent 240946d8f5
commit 952a3ea498
No known key found for this signature in database
GPG Key ID: E907EE5A736F87D4
1 changed files with 2 additions and 2 deletions

View File

@ -222,11 +222,11 @@ pub async fn create_sharder(
// Construct the (ordered) set of shards.
//
// The sort order must be deterministic in order for all nodes to shard to // XXXJPG
// The sort order must be deterministic in order for all nodes to shard to
// the same shards, therefore we type assert the returned set is of the
// ordered variety.
let shards: BTreeSet<_> = shards
// ^ don't change this to an unordered set
// ^ don't change this to an unordered set
.into_iter()
.map(|shard| shard.kafka_partition)
.collect();