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

only READ BankIncrementalSnapshotPersistence in 1.11 #27345

Merged
merged 1 commit into from
Aug 23, 2022

Conversation

jeffwashington
Copy link
Contributor

@jeffwashington jeffwashington commented Aug 23, 2022

Problem

See #27212
If we save these new fields in 1.11, then 1.10 will be unable to load snapshots created in 1.11

Summary of Changes

In 1.11, just READ the new fields, but do not write them.

Fixes #

@mergify mergify bot mentioned this pull request Aug 23, 2022
@jeffwashington jeffwashington marked this pull request as ready for review August 23, 2022 19:04
@brooksprumo
Copy link
Contributor

I kicked CI coverage, but it looks like at least the ABI failure is real:
https://buildkite.com/solana-labs/solana/builds/80392#0182cbb0-52a2-4aa5-85b8-22d58ad5f7c6

@brooksprumo
Copy link
Contributor

And likely the serde snapshot test needs to be updated. Either writing the fields for the test, removing the test for v1.11, or just ensuring that reading the new fields works.

@jeffwashington jeffwashington force-pushed the aug41 branch 2 times, most recently from e71bfa0 to 7fe14ce Compare August 23, 2022 19:21
@jeffwashington
Copy link
Contributor Author

both failures were legit. Yay, tests!

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 0a80172 into solana-labs:v1.11 Aug 23, 2022
jeffwashington added a commit to jeffwashington/solana that referenced this pull request Sep 13, 2022
jeffwashington added a commit to jeffwashington/solana that referenced this pull request Sep 13, 2022
    only READ BankIncrementalSnapshotPersistence in 1.11 (solana-labs#27345)
    serialize incremental_snapshot_hash (backport solana-labs#26839) (solana-labs#27212)
jeffwashington added a commit to jeffwashington/solana that referenced this pull request Sep 13, 2022
jeffwashington added a commit to jeffwashington/solana that referenced this pull request Sep 13, 2022
    only READ BankIncrementalSnapshotPersistence in 1.11 (solana-labs#27345)
    serialize incremental_snapshot_hash (backport solana-labs#26839) (solana-labs#27212)
jeffwashington added a commit to jeffwashington/solana that referenced this pull request Sep 14, 2022
jeffwashington added a commit to jeffwashington/solana that referenced this pull request Sep 14, 2022
    only READ BankIncrementalSnapshotPersistence in 1.11 (solana-labs#27345)
    serialize incremental_snapshot_hash (backport solana-labs#26839) (solana-labs#27212)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants