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

sort ancient append vec target_slots_sorted #33729

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

jeffwashington
Copy link
Contributor

Problem

When we disable rewrites, ancient append vec packing will run to combine old slots together.
There is a field target_slots_sorted which didn't end up getting sorted. Previously, this was irrelevantly incorrect. However, other changes coming soon rely on this being sorted.

Summary of Changes

Sort target_slots_sorted.

Fixes #

@codecov
Copy link

codecov bot commented Oct 17, 2023

Codecov Report

Merging #33729 (6c461be) into master (122ec75) will increase coverage by 0.0%.
Report is 2 commits behind head on master.
The diff coverage is 100.0%.

@@           Coverage Diff           @@
##           master   #33729   +/-   ##
=======================================
  Coverage    81.8%    81.8%           
=======================================
  Files         806      806           
  Lines      217854   217873   +19     
=======================================
+ Hits       178207   178259   +52     
+ Misses      39647    39614   -33     

@jeffwashington jeffwashington marked this pull request as ready for review October 17, 2023 21:34
Copy link
Contributor

@HaoranYi HaoranYi left a comment

Choose a reason for hiding this comment

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

lgtm. +1 for modify the test.

@jeffwashington jeffwashington merged commit c09cbbb into solana-labs:master Oct 17, 2023
16 checks passed
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