-
Notifications
You must be signed in to change notification settings - Fork 806
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update thanos and add block_ids_fetcher to bucketindex #5681
Conversation
Signed-off-by: Wen Xu <[email protected]>
Signed-off-by: Wen Xu <[email protected]>
Signed-off-by: Wen Xu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, I like this pr. Let's make sure we have enough tests coverage for the new block IDs fetcher and the compactor itself.
Unfortunately we don't have integration tests for compactor rn. We should have that at some point.
} | ||
} | ||
|
||
func (f *BucketIndexBlockIDsFetcher) GetActiveAndPartialBlockIDs(ctx context.Context, ch chan<- ulid.ULID) (partialBlocks map[ulid.ULID]bool, err error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make sure we have unit tests to cover this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added unit test.
Btw do we still need #5641? |
Thanks. We can close that one. |
Signed-off-by: Wen Xu <[email protected]>
Signed-off-by: Wen Xu <[email protected]>
Signed-off-by: Wen Xu <[email protected]>
…abled Signed-off-by: Wen Xu <[email protected]>
Signed-off-by: Wen Xu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice change
What this PR does:
Which issue(s) this PR fixes:
Fixes #
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]