Skip to content

Conversation

chaudum
Copy link
Contributor

@chaudum chaudum commented Jan 26, 2024

What this PR does / why we need it:

The requestIterator (v1.Iterator[v1.Request]) can be built directly from the task and does not require any unnecessary merging of tasks, since this is done by the v1.FusedQuerier already.

The requestIterator can be built directly from the task and does not
require any unnecessary merging, since this is done by the FusedQuerier
already.

Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
@chaudum chaudum changed the title (chore) Bloom Gateway: Replace taskMergeIterator with requestIterator (chore) Bloom Gateway: Avoid unnecessary merging of tasks prior to passing them to the FusedQuerier Jan 26, 2024
@chaudum chaudum requested a review from owen-d January 26, 2024 22:34
@chaudum chaudum marked this pull request as ready for review January 27, 2024 19:54
@chaudum chaudum requested a review from a team as a code owner January 27, 2024 19:54
@chaudum chaudum requested a review from salvacorts January 29, 2024 08:38
@chaudum chaudum merged commit c01a823 into main Jan 29, 2024
@chaudum chaudum deleted the chaudum/replace-taskmergeiterator branch January 29, 2024 12:55
rhnasc pushed a commit to inloco/loki that referenced this pull request Apr 12, 2024
…ssing them to the FusedQuerier (grafana#11809)

**What this PR does / why we need it**:

The `requestIterator` (`v1.Iterator[v1.Request]`) can be built directly
from the task and does not require any unnecessary merging of tasks,
since this is done by the `v1.FusedQuerier` already.

Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants