Skip to content

Commit

Permalink
Remove wrong outlive requirements for cache in docs (#812)
Browse files Browse the repository at this point in the history
  • Loading branch information
zheland committed Sep 19, 2023
1 parent b993275 commit 0690527
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/db_options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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!
Expand Down

0 comments on commit 0690527

Please sign in to comment.