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

log when appending exceeds available space #34170

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

jeffwashington
Copy link
Contributor

Problem

Some ancient append vec code triggered the old code in append vecs that previously allowed multiple append vecs per slot. This code will shortly result in an assert. It would be nice to remove this code path at some point.
In the meantime, it would help with diagnosing what caused the situation if we logged some information about what was going on.

Summary of Changes

Add some logging when appending accounts exhausts all space in an append vec.

Fixes #

Copy link

codecov bot commented Nov 19, 2023

Codecov Report

Merging #34170 (65d43cf) into master (f005075) will increase coverage by 0.0%.
Report is 62 commits behind head on master.
The diff coverage is 0.0%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #34170   +/-   ##
=======================================
  Coverage    81.9%    81.9%           
=======================================
  Files         812      812           
  Lines      219737   219738    +1     
=======================================
+ Hits       180028   180066   +38     
+ Misses      39709    39672   -37     

@jeffwashington jeffwashington marked this pull request as ready for review November 19, 2023 21:30
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

@jeffwashington jeffwashington merged commit 2024638 into solana-labs:master Nov 20, 2023
32 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.

3 participants