-
Notifications
You must be signed in to change notification settings - Fork 42
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
Feature/1870 historic state rotation #2063
base: v4.0.0
Are you sure you want to change the base?
Conversation
…lenetwork/skaled into feature/1870-historic-state-rotation
…lenetwork/skaled into feature/1870-historic-state-rotation
…alenetwork/skaled into feature/1870-historic-state-rotation
…alenetwork/skaled into feature/1870-historic-state-rotation
…lenetwork/skaled into feature/1870-historic-state-rotation
…alenetwork/skaled into feature/1870-historic-state-rotation
…alenetwork/skaled into feature/1870-historic-state-rotation
…lenetwork/skaled into feature/1870-historic-state-rotation
…alenetwork/skaled into feature/1870-historic-state-rotation
CLA Assistant Lite bot: I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request |
SUGGESTIONS BEFORE MERGE:
|
fixes #1870
introduce rotating historic state - skaled writes to a historic db until its size less than
HISTORIC_STATE_DB_LIMIT_BYTES
bytes. then skaled closes that db for write and opens another one.tests - added unit tests for the new historic state mechanism. tested it on the mainnet - spun up a Nebula Archive node and verified that it catches up blocks faster than they are produced.
docs: https://github.com/skalenetwork/internal-support/blob/main/docs/specifications/skaled/rotating-historic-state.md