Skip to content

Commit d29e657

Browse files
committed
Create lsm path on startup
1 parent a173a8d commit d29e657

File tree

1 file changed

+1
-0
lines changed
  • ouroboros-consensus/src/ouroboros-consensus-lsm/Ouroboros/Consensus/Storage/LedgerDB/V2

1 file changed

+1
-0
lines changed

ouroboros-consensus/src/ouroboros-consensus-lsm/Ouroboros/Consensus/Storage/LedgerDB/V2/LSM.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,7 @@ instance
579579

580580
mkResources _ trcr (LSMArgs path salt mkFS) reg _ = do
581581
(rk1, SomeHasFSAndBlockIO fs blockio) <- mkFS reg
582+
createDirectoryIfMissing fs True path
582583
session <-
583584
allocate
584585
reg

0 commit comments

Comments
 (0)