Skip to content

Erigon doesn't prune older logs any more #9889

@somnergy

Description

@somnergy

System information

Erigon version: ./erigon --version
2.59.0, 2.59.1, 2.59.2, 2.59.3

Chain/Network: All supported

Expected behaviour

Prune logs older than the provided value of the flag --prune.r.older

Actual behaviour

In subsequent sync after the initial sync, older logs are not deleted on a rolling basis. Although during initial sync the older logs are not stored. However, with time, this could lead to bloating of the database

Steps to reproduce the behaviour

Run the node with prune flags and check table sizes for TransactionLog table

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions