Skip to content

stats: optionally also show how many entries are deleted entries #53

Description

@wojas

It would be very helpful if the stats command can also output how many entries per DBI are marked as deleted.

Since this requires a full scan of the LMDB, this should be disabled by default and require a flag like --full.

As a workaround, you can find the number of deleted entries with something like:

lightningstream snapshots dump ... | grep flags=01 | wc -l

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions