Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Backport #17319#19414

Closed
carllin wants to merge 1 commit intosolana-labs:v1.6from
carllin:FixAccounts1.6
Closed

Backport #17319#19414
carllin wants to merge 1 commit intosolana-labs:v1.6from
carllin:FixAccounts1.6

Conversation

@carllin
Copy link
Copy Markdown
Contributor

@carllin carllin commented Aug 25, 2021

Problem

purge_slots() removes the storage entries without unrefing the containing accounts. This may lead to a bad ref count for zero lamport accounts which will then never get removed.

Summary of Changes

Backport #17319 which reworked purge_slots() to use a common handle_reclaims() path which takes care of the dead slot and unrefing accounts

Fixes #

@carllin
Copy link
Copy Markdown
Contributor Author

carllin commented Aug 25, 2021

@ryoqun as you were the primary reviewer on #17319, if you could sanity check this that would be awesome!

@stale
Copy link
Copy Markdown

stale Bot commented Sep 4, 2021

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale Bot added the stale [bot only] Added to stale content; results in auto-close after a week. label Sep 4, 2021
@carllin carllin closed this Sep 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

stale [bot only] Added to stale content; results in auto-close after a week.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant