You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The initial implementation of this in #8387 was insufficient. Many of us do metadata pushes, so that metric was only capturing the metadata size in those cases.
This implementation uses a single point where segments are "added" to a server to capture the size. The benefit here is that we can now also get this metric for realtime, committed segments and not just offline segments.
I deployed this to an internal cluster and confirmed we see sizes for realtime and offline tables. I confirmed the segment size on disk is the same as what we see on disk.
Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)
Yes (Please label as backward-incompat, and complete the section below on Release Notes)
Does this PR fix a zero-downtime upgrade introduced earlier?
Yes (Please label this as backward-incompat, and complete the section below on Release Notes)
Does this PR otherwise need attention when creating release notes? Things to consider:
New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed
Yes (Please label this PR as release-notes and complete the section on Release Notes)
Release Notes
For segments that are available on disk we will emit a metric for their uncompressed size.
This won't work properly because when the server restarts, there is no guarantee which segment is loaded first.
If it is okay to track the compressed segment size (segment size in the deep store), @timsants is working on adding the compressed segment size to the ZK metadata in #8358. Then you may use that segment size which is always the actual compressed file size
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The initial implementation of this in #8387 was insufficient. Many of us do metadata pushes, so that metric was only capturing the metadata size in those cases.
This implementation uses a single point where segments are "added" to a server to capture the size. The benefit here is that we can now also get this metric for realtime, committed segments and not just offline segments.
I deployed this to an internal cluster and confirmed we see sizes for realtime and offline tables. I confirmed the segment size on disk is the same as what we see on disk.
Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)
backward-incompat, and complete the section below on Release Notes)Does this PR fix a zero-downtime upgrade introduced earlier?
backward-incompat, and complete the section below on Release Notes)Does this PR otherwise need attention when creating release notes? Things to consider:
release-notesand complete the section on Release Notes)Release Notes
For segments that are available on disk we will emit a metric for their uncompressed size.
Documentation