Skip to content

Commit 6ab3715

Browse files
committed
fixup! fixup! fixup! fixup! Add bloom planner and bloom builder to backend target
Signed-off-by: Christian Haudum <[email protected]>
1 parent 1c1435d commit 6ab3715

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/sources/operations/query-acceleration-blooms.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ and querying the bloom filters that only pays off at large scale deployments.
4343
{{< /admonition >}}
4444

4545
To start building and using blooms you need to:
46-
- Deploy the [Bloom Planner and Builder](#bloom-planner-and-builder) components (as a [microservic][microservices] or via the [SSD][ssd] `backend` target) and enable the components in the [Bloom Build config][bloom-build-cfg].
46+
- Deploy the [Bloom Planner and Builder](#bloom-planner-and-builder) components (as a [microservice][microservices] or via the [SSD][ssd] `backend` target) and enable the components in the [Bloom Build config][bloom-build-cfg].
4747
- Deploy the [Bloom Gateway](#bloom-gateway) component (as a [microservice][microservices] or via the [SSD][ssd] `backend` target) and enable the component in the [Bloom Gateway config][bloom-gateway-cfg].
4848
- Enable blooms building and filtering for each tenant individually, or for all of them by default.
4949

pkg/bloombuild/planner/planner.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ func (p *Planner) stopping(_ error) error {
159159
func (p *Planner) running(ctx context.Context) error {
160160
go p.trackInflightRequests(ctx)
161161

162-
// run once at beginning, but deplay by 1m to allow ring consolidation when running in SSD mode
162+
// run once at beginning, but delay by 1m to allow ring consolidation when running in SSD mode
163163
initialPlanningTimer := time.NewTimer(time.Minute)
164164
defer initialPlanningTimer.Stop()
165165

@@ -936,7 +936,7 @@ func (p *Planner) BuilderLoop(builder protos.PlannerForBuilder_BuilderLoopServer
936936
logger := log.With(p.logger, "builder", builderID)
937937

938938
if !p.isLeader() {
939-
return fmt.Errorf("planner is not leader")
939+
return errPlannerIsNotLeader
940940
}
941941

942942
level.Debug(logger).Log("msg", "builder connected")

0 commit comments

Comments
 (0)