Skip to content

v1.18: ledger-tool: Set initial last full snapshot slot (backport of #2314)#2342

Merged
brooksprumo merged 1 commit intov1.18from
mergify/bp/v1.18/pr-2314
Jul 31, 2024
Merged

v1.18: ledger-tool: Set initial last full snapshot slot (backport of #2314)#2342
brooksprumo merged 1 commit intov1.18from
mergify/bp/v1.18/pr-2314

Conversation

@mergify
Copy link
Copy Markdown

@mergify mergify Bot commented Jul 29, 2024

Problem

ledger-tool does not set the initial last full snapshot slot for AccountBackgroundService. This could produce invalid incremental snapshots. Ones that are missing zero lamport accounts. In the full snapshot these accounts would still have non-zero lamports, and thus would be resurrected on startup. This is bad.

Summary of Changes

Set the initial last full snapshot slot.

A useful additional piece of info: #2314 (comment)


This is an automatic backport of pull request #2314 done by [Mergify](https://mergify.com).

@mergify mergify Bot requested a review from a team as a code owner July 29, 2024 20:06
Copy link
Copy Markdown

@jeffwashington jeffwashington left a comment

Choose a reason for hiding this comment

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

lgtm

@brooksprumo brooksprumo merged commit 0df68a9 into v1.18 Jul 31, 2024
@brooksprumo brooksprumo deleted the mergify/bp/v1.18/pr-2314 branch July 31, 2024 18:16
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.

4 participants