Skip to content

Commit

Permalink
add description of active and parital blocks and modify changelog
Browse files Browse the repository at this point in the history
Signed-off-by: Wen Xu <wenxuamz@amazon.com>
  • Loading branch information
wenxu1024 committed Nov 21, 2023
1 parent d3c56bf commit 44819ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re
### Added

- [#6891](https://github.com/thanos-io/thanos/pull/6891) Objstore: Bump `objstore` which adds support for Azure Workload Identity.
- [#6902](https://github.com/thanos-io/thanos/pull/6902) Fetcher: Add a BlockIDsFetcher Interface to BaseFetcher

### Changed

Expand Down
1 change: 1 addition & 0 deletions pkg/block/fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ func DefaultModifiedLabelValues() [][]string {
// Fetcher interface to retieve blockId information from a bucket.
type BlockIDsFetcher interface {
//Get active blocksIds returning it via channel (streaming) and response.
//Here active blocks are blocks which contain meta.json, while partial blocks are blocks without meta.json
GetActiveAndPartialBlockIDs(ctx context.Context, ch chan<- ulid.ULID) (partialBlocks map[ulid.ULID]bool, err error)
}

Expand Down

0 comments on commit 44819ea

Please sign in to comment.