Skip to content

Commit

Permalink
Identify bloom that could not be retrieved from backend block (#1737)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexDCraig committed Sep 14, 2022
1 parent 148af61 commit 603a8a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
@@ -1,5 +1,6 @@
## main / unreleased

* [CHANGE] Identify bloom that could not be retrieved from backend block [#1737](https://github.com/grafana/tempo/pull/1737) (@AlexDHoffer)
* [CHANGE] tempo: check configuration returns now a list of warnings [#1663](https://github.com/grafana/tempo/pull/1663) (@frzifus)
* [CHANGE] Make DNS address fully qualified to reduce DNS lookups in Kubernetes [#1687](https://github.com/grafana/tempo/pull/1687) (@electron0zero)
* [CHANGE] Improve parquet compaction memory profile when dropping spans [#1692](https://github.com/grafana/tempo/pull/1692) (@joe-elliott)
Expand Down
2 changes: 1 addition & 1 deletion tempodb/encoding/v2/backend_block.go
Expand Up @@ -53,7 +53,7 @@ func (b *BackendBlock) find(ctx context.Context, id common.ID) ([]byte, error) {
nameBloom := common.BloomName(shardKey)
bloomBytes, err := b.reader.Read(ctx, nameBloom, blockID, tenantID, true)
if err != nil {
return nil, fmt.Errorf("error retrieving bloom (%s, %s): %w", b.meta.TenantID, b.meta.BlockID, err)
return nil, fmt.Errorf("error retrieving bloom %s (%s, %s): %w", nameBloom, b.meta.TenantID, b.meta.BlockID, err)
}

filter := &willf_bloom.BloomFilter{}
Expand Down
2 changes: 1 addition & 1 deletion tempodb/encoding/vparquet/block_findtracebyid.go
Expand Up @@ -147,7 +147,7 @@ func (b *backendBlock) checkBloom(ctx context.Context, id common.ID) (found bool

bloomBytes, err := b.r.Read(derivedCtx, nameBloom, b.meta.BlockID, b.meta.TenantID, true)
if err != nil {
return false, fmt.Errorf("error retrieving bloom (%s, %s): %w", b.meta.TenantID, b.meta.BlockID, err)
return false, fmt.Errorf("error retrieving bloom %s (%s, %s): %w", nameBloom, b.meta.TenantID, b.meta.BlockID, err)
}

filter := &bloom.BloomFilter{}
Expand Down

0 comments on commit 603a8a8

Please sign in to comment.