Skip to content

Commit

Permalink
fix: remove unused interface
Browse files Browse the repository at this point in the history
  • Loading branch information
danxmoran committed Dec 11, 2020
1 parent e737125 commit 10b9413
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions tsdb/engine/tsm1/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -2397,10 +2397,6 @@ func (e *Engine) CreateIterator(ctx context.Context, measurement string, opt que
return newMergeFinalizerIterator(ctx, itrs, opt, e.logger)
}

type indexTagSets interface {
TagSets(name []byte, options query.IteratorOptions) ([]*query.TagSet, error)
}

func (e *Engine) createCallIterator(ctx context.Context, measurement string, call *influxql.Call, opt query.IteratorOptions) ([]query.Iterator, error) {
ref, _ := call.Args[0].(*influxql.VarRef)

Expand Down
5 changes: 0 additions & 5 deletions tsdb/index_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -526,11 +526,6 @@ func BenchmarkIndexSet_TagSets(b *testing.B) {
}
}

// TODO(edd): refactor how we call into tag sets in the tsdb package.
type indexTagSets interface {
TagSets(name []byte, options query.IteratorOptions) ([]*query.TagSet, error)
}

var errResult error

// This benchmark will merge eight bitsets each containing ~10,000 series IDs.
Expand Down

0 comments on commit 10b9413

Please sign in to comment.