-
Notifications
You must be signed in to change notification settings - Fork 521
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ingester block lifetime changes (#628)
* WIP: working first draft * Moved wal iteration/completion to tempodb and honor existing block config options * Get and specify length when flushing ingester blocks to backend, to avoid high mem usage in Min.IO client (s3) * Rename local.LocalBackend to local.Backend * Rename local.LocalBackend to local.Backend * Rename local.LocalBackend to local.Backend * Delete obsolete complete block * Rename ingester.IngesterBlock to ingester.LocalBlock * Update changelog * lint * Rename CompactorBlock to StreamingBlock * Break complete flush op into own method, remove dead code * Fix StreamingBlock to finish writing data file before writing meta to fix #633 * Don't recreate obsolete /wal/completed folder after clearing it out on startup * Move ReadReader to the main backend.Reader interface, leave unimplemented for all backends except local for now * Move block copy functionality from BackendBlock to shared method * Move LocalBlock to wal package * lint * Restore test for wal->backend block completion after moving to /tempodb. Remove commented code * Move local backend ownership from ingester to wal, code cleanup
- Loading branch information
Showing
31 changed files
with
586 additions
and
768 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
Oops, something went wrong.