Skip to main content

MAX_INLINE_VALUE_SIZE

Constant MAX_INLINE_VALUE_SIZE 

Source
pub const MAX_INLINE_VALUE_SIZE: usize = 8;
Expand description

The largest value that WriteBatch::delete_value can delete, since the tombstone stores a copy of the value inline. Maximum size for inline values stored directly in key blocks. Currently 8 bytes (break-even with the 8-byte indirection overhead). Can be increased up to 247 bytes (type 255 - 8) if desired. See static_sorted_file.rs for the static assertion enforcing this limit.