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

Supporting path based state scheme for full nodes #2021

Closed
ghost opened this issue Nov 4, 2023 · 3 comments
Closed

Supporting path based state scheme for full nodes #2021

ghost opened this issue Nov 4, 2023 · 3 comments
Labels
enhancement New feature or enhancement Github

Comments

@ghost
Copy link

ghost commented Nov 4, 2023

It would be great if the node supports path based state scheme which reduces significant disk space for full nodes ( not for archive nodes though )

Related: ethereum/go-ethereum#25390

@ghost ghost added the enhancement New feature or enhancement label Nov 4, 2023
Copy link

Exalate commented: Issue Created by: kaliubuntu0206

@ghost ghost mentioned this issue Nov 6, 2023
9 tasks
@blukat29
Copy link
Contributor

blukat29 commented Nov 6, 2023

@kaliubuntu0206 Thanks for the suggestion. However, I don't think we'll implement the path-based DB anytime soon.

Instead, Klaytn has taken another approach to reduce disk spaces for full nodes. It's the Live Pruning feature introduced since v1.11.0 (Aug 2023). The Live Pruning prunes hash-based DB without downtime (online). We started developing the state pruning feature last year, so we went the other way from geth.

If you are a node operator, you can use it now:

Also I expect that from v1.12.0, Live Pruning can be switched on/off on the existing DB. (#2004)

@blukat29
Copy link
Contributor

blukat29 commented Dec 7, 2023

@kaliubuntu0206 FYI, the "Live Pruning switch on/off" feature is not going to be included. We found a logical problem that prohibits the switching feature. You'd have to setup a fresh chaindata from https://packages.klaytn.net/cypress/pruning-chaindata/ to start a Live Pruning node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement Github
Projects
None yet
Development

No branches or pull requests

1 participant