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

Splitstore Harness Test #6725

Open
vyzo opened this issue Jul 10, 2021 · 0 comments
Open

Splitstore Harness Test #6725

vyzo opened this issue Jul 10, 2021 · 0 comments

Comments

@vyzo
Copy link
Contributor

vyzo commented Jul 10, 2021

During the development of Splitstore v1 in #6474, we laregely relied on manual testing using live nodes in the mainnet.
While this is acceptable for development, and indeed very beneficial and confidence building to have the nodes running in mainnet, it is not sufficient for testing of production code.

We propose to create a harness test for splitstore, which includes a sufficient subset of the chain (at least 6 finalities) so as to initialize a splitstore node and trigger compaction, possibly starting from a snapshot.
We can't easily do that with an integration test, as we need a lot of (real world!) blocks and a sufficiently long chain to trigger at least one compaction.
We also need a sufficiently complex part of lotus so as to validate blocks and compute state during the test to ensure that everything is nominal.

This is a non-trivial project, but it is necessary in order to mark the splitstore production ready.

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

No branches or pull requests

2 participants