@@ -669,14 +669,6 @@ retrieveBlobs (Internal.Session' (sesh :: Internal.Session m h)) refs =
669669--
670670-- * It is safe to concurrently make snapshots from any table, provided that
671671-- the snapshot names are distinct (otherwise this would be a race).
672- --
673- -- TODO: this function currently has a temporary implementation until we have
674- -- proper snapshots. The temporary snapshot consists of a small file in the
675- -- snapshots directory that lists: (i) the runs that are used by a specific
676- -- snapshot, and (ii) its table configuration. We don't have to copy run files
677- -- as part of the snapshot because run files aren't (yet) deleted when runs are
678- -- closed. The write buffer is also persisted to disk as part of the snapshot,
679- -- but the original table remains unchanged.
680672createSnapshot :: forall m k v blob .
681673 ( IOLike m
682674 , SerialiseKey k
@@ -688,7 +680,7 @@ createSnapshot :: forall m k v blob.
688680 -> Table m k v blob
689681 -> m ()
690682createSnapshot snap (Internal. NormalTable t) =
691- void $ Internal. createSnapshot const snap label Internal. SnapNormalTable t
683+ Internal. createSnapshot const snap label Internal. SnapNormalTable t
692684 where
693685 label = Internal. SnapshotLabel $ Common. makeSnapshotLabel (Proxy @ (k , v , blob ))
694686
@@ -720,9 +712,6 @@ createSnapshot snap (Internal.NormalTable t) =
720712-- 'createSnapshot' "intTable" t
721713-- 'openSnapshot' \@IO \@Bool \@Bool \@Bool session "intTable"
722714-- @
723- --
724- -- TODO: this function currently has a temporary implementation until we have
725- -- proper snapshots. See 'createSnapshot'.
726715openSnapshot :: forall m k v blob .
727716 ( IOLike m
728717 , SerialiseKey k
0 commit comments