Skip to content
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

disk index: introduce IndexEntryPlaceInBucket #30944

Merged
merged 4 commits into from
Mar 29, 2023

Conversation

jeffwashington
Copy link
Contributor

@jeffwashington jeffwashington commented Mar 28, 2023

Problem

see #30711

Summary of Changes

introduce a new struct/impl to make it easier to refactor how fields are actually stored. Note that to avoid brawls with the borrow checker during mut operations, the struct does not contain a ref to the index bucket itself.

Fixes #

@codecov
Copy link

codecov bot commented Mar 29, 2023

Codecov Report

Merging #30944 (d5aaf65) into master (97af6aa) will decrease coverage by 0.1%.
The diff coverage is 98.2%.

@@            Coverage Diff            @@
##           master   #30944     +/-   ##
=========================================
- Coverage    81.5%    81.5%   -0.1%     
=========================================
  Files         728      728             
  Lines      205405   205448     +43     
=========================================
+ Hits       167474   167502     +28     
- Misses      37931    37946     +15     

@jeffwashington jeffwashington marked this pull request as ready for review March 29, 2023 17:27
@jeffwashington jeffwashington changed the title wip: disk index: introduce IndexEntryPlaceInBucket disk index: introduce IndexEntryPlaceInBucket Mar 29, 2023
Copy link
Contributor

@brooksprumo brooksprumo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jeffwashington jeffwashington merged commit 4b7cfa2 into solana-labs:master Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants