Skip to content

Prune frozen files support #21306

@AskAlexSharov

Description

@AskAlexSharov

Problem:
Erigon can't remove old (frozen) files. Not blocks files, not state files.
It's problem for --prune.mode=minimal with big uptime - it only creating-merging files but never delete old history files.

Idea:
mdbx has FreeList logic - whithout any per-page atomics
if we implement same logic for "old files - free list" - then we will not need refcnt atomics

Related:

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions