erigontech / erigontech/erigon

Feature: `--datadir.static`

Open
#11,283 7 comments 0 reactions 0 assignees View on GitHub
UX
Dominant language
Go
Stars
3.6k
Forks
1.5k
Avg merge
1d 16h
Merged PRs (30d)
455

Description

# Rationale

E3 can place parts of snapshot and temp onto slow disk.

Doing so with symlinks is anywhere from impossible to extremely awkward when running in Docker, depending on exact volume implementation

A `--datadir.static` (bikeshed exact parameter name to heart’s content) that points to where the slow storage is would be an elegant solution. Similar to Geth ancient and Reth static parameters.

# Implementation

Would need to change the strict “all under datadir” parts of the code, introduce a second variable for slow storage, and default it to datadir.

From there the structure remains as is.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.