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

Fail gracefully if older AddressSignatures rocksdb keys are present #9611

Closed
wants to merge 2 commits into from

Conversation

mvines
Copy link
Contributor

@mvines mvines commented Apr 20, 2020

getConfirmedSignaturesForAddress into devnet.solana.com panics, seemingly because there exists older data in the AddressSignatures column without the additional Signature at the end of the key:
https://github.com/solana-labs/solana/pull/9407/files#diff-5f6b1e8d3bf211c4eb9bc67a7718a665R362

I haven't tested testnet or mainnet-beta but suspect we'll see the same there. Gracefully handle the older keys (by essentially ignoring them)

Copy link
Contributor

@CriesofCarrots CriesofCarrots left a comment

Choose a reason for hiding this comment

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

Thanks. This panic would only affect testnet or mainnet-beta if the cluster ran a mid-release version of code with #9367 but not #9407

@mvines
Copy link
Contributor Author

mvines commented Apr 20, 2020

Thanks. This panic would only affect testnet or mainnet-beta if the cluster ran a mid-release version of code with #9367 but not #9407

Hmm, yeah testnet and mainnet-beta are fine. I think I'm going to not land this then, and just nuke the devnet ledger from the devnet API server.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants