changeset 596:10d8f5ac949c

Options: Add note on `compression_type`
author Lewin Bormann <lbo@spheniscida.de>
date Fri, 12 May 2023 21:45:38 +0200
parents ed506cf9ba25
children 7f086f39fb22
files src/options.rs
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/options.rs	Sun Jan 15 09:29:26 2023 +0100
+++ b/src/options.rs	Fri May 12 21:45:38 2023 +0200
@@ -49,6 +49,8 @@
     pub block_cache: Shared<Cache<Block>>,
     pub block_size: usize,
     pub block_restart_interval: usize,
+    /// Note: you have to open a database with the same compression type as it was written to, in
+    /// order to not lose data! (this is a bug and will be fixed)
     pub compression_type: CompressionType,
     pub reuse_logs: bool,
     pub reuse_manifest: bool,