-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[TieredStorage] HotStorageReader::get_account_meta_from_offset() #33724
[TieredStorage] HotStorageReader::get_account_meta_from_offset() #33724
Conversation
493039f
to
5af0429
Compare
Codecov Report
@@ Coverage Diff @@
## master #33724 +/- ##
=======================================
Coverage 81.8% 81.8%
=======================================
Files 806 806
Lines 217913 217945 +32
=======================================
+ Hits 178286 178314 +28
- Misses 39627 39631 +4 |
5af0429
to
efd08d2
Compare
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.
looks good; some nits
Will do a rebase once the PR gets approval. |
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.
lgtm
11ec354
to
bdea578
Compare
Rebase & squash. |
Problem
HotStorageReader currently only implements get_footer(). It does not
have a function to obtain the account meta.
Summary of Changes
This PR implements HotStorageReader::get_account_meta_from_offset().
A function that returns the account meta located at the specified offset.
This will be the helper function that will be later used to obtain the account
meta when the offset is available from the index block of a hot storage file.
Test Plan
A new test is included in this PR.