pub struct BlobLocalityRelocation {
pub max_depth: NonZeroU64,
pub budget: f32,
}Expand description
When and how much a compaction relocates blob files to restore scan
locality. Set through KvSeparationOptions::relocate_for_locality.
Fields§
§max_depth: NonZeroU64The blob reference depth a compaction’s inputs may reach before it relocates for locality. Relocation fires only above it.
budget: f32The extra I/O relocation may add, as a fraction of the bytes the compaction writes anyway.
Trait Implementations§
Source§impl Clone for BlobLocalityRelocation
impl Clone for BlobLocalityRelocation
impl Copy for BlobLocalityRelocation
Source§impl Debug for BlobLocalityRelocation
impl Debug for BlobLocalityRelocation
Source§impl PartialEq for BlobLocalityRelocation
impl PartialEq for BlobLocalityRelocation
impl StructuralPartialEq for BlobLocalityRelocation
Auto Trait Implementations§
impl Freeze for BlobLocalityRelocation
impl RefUnwindSafe for BlobLocalityRelocation
impl Send for BlobLocalityRelocation
impl Sync for BlobLocalityRelocation
impl Unpin for BlobLocalityRelocation
impl UnsafeUnpin for BlobLocalityRelocation
impl UnwindSafe for BlobLocalityRelocation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more