Skip to content

Commit 8297f7b

Browse files
committed
make a note about the keyspace reference
1 parent 830ec61 commit 8297f7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/store.rs

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ impl Store {
2626
.open_partition("main", PartitionCreateOptions::default())
2727
.unwrap();
2828
Store {
29+
// keep a reference to the keyspace, so we get a fsync when the store is dropped:
30+
// https://github.com/fjall-rs/fjall/discussions/44
2931
_keyspace: keyspace,
3032
partition,
3133
path,

0 commit comments

Comments
 (0)