Skip to content

Expose LeiosDb volatile/immutable partition sizes as node metrics - #6656

Merged
geo2a merged 3 commits into
leios-prototypefrom
geo2a/leios-969-leiosdb-gc
Sep 16, 2026
Merged

geo2a merged 3 commits into
leios-prototypefrom
geo2a/leios-969-leiosdb-gc

Conversation

@geo2a

@geo2a geo2a commented Aug 20, 2026 •

Copy link
Copy Markdown
Contributor

Implements input-output-hk/ouroboros-leios#969

Consensus PR: IntersectMBO/ouroboros-consensus#2261

Description

This is the adaptation of the LeiosDB volatile/immutable split implemented in this consensus PR: IntersectMBO/ouroboros-consensus#2223

LeiosDbConfig with Backend: SQLite now takes two paths, VolatileFilepath and ImmutableFilepath, one per LeiosDb partition, replacing the single Filepath key. The defaults are leios.db.vol and leios.db.imm.

The split into two files allows placing the volatile and immutable partitions into separate disks, i.e.:

LeiosDbConfig:
   Backend: SQLite
   VolatileFilepath: "/fast/disk/leios.db.vol"
   ImmutableFilepath: "/slow/disk/leios.db.imm"

@geo2a
geo2a force-pushed the geo2a/leios-969-leiosdb-gc branch 3 times, most recently from 3e14f8b to a315b45 Compare September 4, 2026 11:48
@ch1bo
ch1bo force-pushed the leios-prototype branch 13 times, most recently from 4297ebf to 6a138f2 Compare September 7, 2026 00:24
@geo2a
geo2a force-pushed the geo2a/leios-969-leiosdb-gc branch 8 times, most recently from 5fa1a99 to 28d0441 Compare September 16, 2026 08:41
@geo2a
geo2a force-pushed the geo2a/leios-969-leiosdb-gc branch from 28d0441 to 11af588 Compare September 16, 2026 09:04
@geo2a
geo2a marked this pull request as ready for review September 16, 2026 09:11
@geo2a
geo2a requested a review from a team as a code owner September 16, 2026 09:11
@geo2a
geo2a merged commit 7e33674 into leios-prototype Sep 16, 2026
9 of 56 checks passed
@geo2a
geo2a deleted the geo2a/leios-969-leiosdb-gc branch September 16, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant