Skip to content

Commit

Permalink
fixup! Filter "resharded" points from search, scroll by, count and re…
Browse files Browse the repository at this point in the history
…trieve request results

Clarified a few `TODO`s
  • Loading branch information
ffuugoo committed Jun 19, 2024
1 parent 2003024 commit 4ef0c7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/collection/src/shards/shard_holder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -380,11 +380,11 @@ impl ShardHolder {
}

let Some(ring) = self.rings.get(&state.shard_key) else {
return None; // TODO(resharding)!?
return None; // TODO(resharding): Return error?
};

let HashRing::Resharding { new, .. } = ring else {
return None; // TODO(resharding)!?
return None; // TODO(resharding): Return error?
};

Some(hash_ring::Filter::new(new.clone(), state.shard_id))
Expand Down

0 comments on commit 4ef0c7d

Please sign in to comment.