Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Configurable temporary directory for in-memory DB#676

Merged
yperbasis merged 2 commits into
mainfrom
memdb_dir
Oct 11, 2022
Merged

Configurable temporary directory for in-memory DB#676
yperbasis merged 2 commits into
mainfrom
memdb_dir

Conversation

@yperbasis

@yperbasis yperbasis commented Oct 11, 2022

Copy link
Copy Markdown
Contributor

@yperbasis yperbasis marked this pull request as ready for review October 11, 2022 14:52
@yperbasis yperbasis merged commit a09e268 into main Oct 11, 2022
@yperbasis yperbasis deleted the memdb_dir branch October 11, 2022 14:57
AlexeyAkhunov pushed a commit to erigontech/erigon that referenced this pull request Oct 11, 2022
Previously "in-memory" MDBX instances for fork validation and mining
were created inside `os.TempDir()`. We should create them inside
Erigon's datadir so that the file permissions and the disk are the same
as for the main database.

Prerequisite: ledgerwatch/erigon-lib#676.
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.

1 participant