-
Notifications
You must be signed in to change notification settings - Fork 569
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compactor: Upload Sparse Index Headers to Object Storage (#10684)
* mv indexheader into utils * fmt + benchmarks for BinaryWrite * update benchmarks * update tests on compactor e2e * update tests on compactor e2e * fix err handling in WriteBinary * mv indexheader to pkg/storage * rm change to BinaryWrite * rm unused import related to BinaryWrite * pass uploadSparseIndexHeaders through Config + update docs * update docs * docs * docs * handrail comments; rm TODO * comments * add handling for configured sampling rate != sparse-index-header sampling rate * add comments on DownsamplePostings * updates to downsampling * golangci-lint * add todo comment on test, can pass unexpectedly * update to tests * review comments * address review comments * golint * pass config through init functions * update downsampling in NewPostingOffsetTableFromSparseHeader to always take last * fix postings to pass TestStreamBinaryReader_CheckSparseHeadersCorrectnessExtive * fix postings to pass TestStreamBinaryReader_CheckSparseHeadersCorrectnessExtive * stat sparse index headers before block upload; no warning on failed upload if not on fs * posting sampling tests * update header sampling tests * split runCompactionJob upload into multiple concurrency.ForEachJob * update changelog.md * golint * Update CHANGELOG.md * Update CHANGELOG.md * Revert "Update CHANGELOG.md" This reverts commit 92b4610. * Update pkg/compactor/bucket_compactor.go Co-authored-by: Dimitar Dimitrov <[email protected]> * add struct fields on test * rework downsampling tests; require first and last * add check for first and last table offsets to CheckSparseHeadersCorrectnessExtensive * check all ranges in index are in header * comment on offset adjust * Update docs/sources/mimir/configure/configuration-parameters/index.md Co-authored-by: Taylor C <[email protected]> * update docs --------- Co-authored-by: Dimitar Dimitrov <[email protected]> Co-authored-by: Taylor C <[email protected]>
- Loading branch information
1 parent
42198d3
commit 769906a
Showing
50 changed files
with
737 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.