Skip to content

Commit

Permalink
Fix changelog entry position. Fix types after introduction of spanset…
Browse files Browse the repository at this point in the history
…MetadataIterator (wrap it instead of spansetIterator)
  • Loading branch information
kostya9 committed Mar 6, 2023
1 parent af37d14 commit 529be34
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* [CHANGE] Update Go to 1.20 [#2079](https://github.com/grafana/tempo/pull/2079) (@scalalang2)
* [BUGFIX] Retry copy operations during compaction in GCS backend [#2111](https://github.com/grafana/tempo/pull/2111) (@mapno)
* [BUGFIX] Fix float/int comparisons in TraceQL. [#2139](https://github.com/grafana/tempo/issues/2139) (@joe-elliott)
* [BUGFIX] Fix not closing WAL block file before attempting to delete the folder. [#2139](https://github.com/grafana/tempo/pull/2152) (@kostya9)

## v2.0.1 / 2023-03-03

Expand All @@ -21,7 +22,6 @@
* [BUGFIX] Unescape query parameters in AWS Lambda to allow TraceQL queries to work. [#2114](https://github.com/grafana/tempo/issues/2114) (@joe-elliott)
* [CHANGE] Pad leading zeroes in span id to always be 16 chars [#2062](https://github.com/grafana/tempo/pull/2062) (@ie-pham)
* [BUGFIX] Fix float/int comparisons in TraceQL. [#2139](https://github.com/grafana/tempo/issues/2139) (@joe-elliott)
* [BUGFIX] Fix not closing WAL block file before attempting to delete the folder. [#2139](https://github.com/grafana/tempo/pull/2152) (@kostya9)

## v2.0.0 / 2023-01-31

Expand Down
4 changes: 0 additions & 4 deletions tempodb/encoding/vparquet/block_traceql.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,10 +301,6 @@ func (i *spansetIterator) Close() {
i.iter.Close()
}

func (i *spansetIterator) Close() {
i.iter.Close()
}

// mergeSpansetIterator iterates through a slice of spansetIterators exhausting them
// in order
type mergeSpansetIterator struct {
Expand Down
4 changes: 4 additions & 0 deletions tempodb/encoding/vparquet/block_traceql_meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,7 @@ func (i *spansetMetadataIterator) Next(ctx context.Context) (*traceql.Spanset, e

return ss, nil
}

func (i *spansetMetadataIterator) Close() {
i.iter.Close()
}
2 changes: 1 addition & 1 deletion tempodb/encoding/vparquet/wal_block.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ func (b *pageFile) Close() error {
}

type pageFileClosingIterator struct {
iter *spansetIterator
iter *spansetMetadataIterator
pageFile *pageFile
}

Expand Down

0 comments on commit 529be34

Please sign in to comment.