summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Zheleznov <zheland.net@gmail.com>2023-09-19 16:41:59 +0300
committerGitHub <noreply@github.com>2023-09-19 14:41:59 +0100
commit069052732627b1f8f98b14ae9dd89bb6268574f9 (patch)
tree2ba9d92895fa207ebf2ee791f4967a91ada6849f
parentb9932753d46bd7cc7eadfa0de7e1253ef0328ef1 (diff)
Remove wrong outlive requirements for cache in docs (#812)
-rw-r--r--src/db_options.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db_options.rs b/src/db_options.rs
index 030d5a3..28efbec 100644
--- a/src/db_options.rs
+++ b/src/db_options.rs
@@ -398,7 +398,7 @@ impl BlockBasedOptions {
}
/// Sets global cache for blocks (user data is stored in a set of blocks, and
- /// a block is the unit of reading from disk). Cache must outlive DB instance which uses it.
+ /// a block is the unit of reading from disk).
///
/// If set, use the specified cache for blocks.
/// By default, rocksdb will automatically create and use an 8MB internal cache.
@@ -2820,7 +2820,7 @@ impl Options {
}
}
- /// Sets global cache for table-level rows. Cache must outlive DB instance which uses it.
+ /// Sets global cache for table-level rows.
///
/// Default: null (disabled)
/// Not supported in ROCKSDB_LITE mode!