Skip to main content

BarrierReport

Struct BarrierReport 

Source
pub struct BarrierReport {
Show 17 fields pub seq: Option<u64>, pub uploaded: Vec<String>, pub deleted: Vec<String>, pub removed: Vec<String>, pub removals_refused: usize, pub parked: Vec<String>, pub consumed: usize, pub foreign_queued: usize, pub deferred: Vec<String>, pub no_change: bool, pub published_bytes: u64, pub manifest_etag: Option<String>, pub observed_seq: Option<u64>, pub observed_etag: Option<String>, pub first_absence: Vec<String>, pub absences_confirmed: usize, pub rescope_replayed: bool,
}

Fields§

§seq: Option<u64>§uploaded: Vec<String>§deleted: Vec<String>§removed: Vec<String>

Paths a DECLARED removal (delete/rename design) cited out this barrier — a subset of deleted once the GC has run.

§removals_refused: usize

Declared removals this barrier REFUSED (locally dirty, not a file, uncontainable); the cell carries the reason.

§parked: Vec<String>§consumed: usize§foreign_queued: usize§deferred: Vec<String>

Paths whose transfer drifted or was swept mid-compose: nothing published, nothing advanced; the next scan re-queues them.

§no_change: bool§published_bytes: u64

Bytes this barrier actually published — the input to the sentinel work meter (boundary-verbs plan D3.1). Metering work rather than calls is what keeps a sentinel storm from un-coalescing a hot large file’s republish: a counted budget charges a 2 GiB checkpoint the same one unit as a 4 KiB file.

§manifest_etag: Option<String>

The manifest ETag this barrier installed (the ack’s CAS token).

§observed_seq: Option<u64>

What the manifest HEAD/install told us the bucket is at, for the news ticker (D5) — free, off requests the barrier already made.

§observed_etag: Option<String>§first_absence: Vec<String>

Paths this barrier saw absent for the FIRST time: their deletes are withheld to the next scan (the rename-vs-walk guard). On a declared boundary a non-empty set means the confirmation lstat found them back on disk — the race the guard exists for.

§absences_confirmed: usize

First-absence paths a DECLARED boundary confirmed gone by direct lstat and published as ordinary deletes (confirm_absences).

§rescope_replayed: bool

This barrier finished a rescope a crash had left half-applied before it did anything else. Reported so a run that looks like an ordinary barrier can be told from one that had to converge a workspace first.

Trait Implementations§

Source§

impl Debug for BarrierReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for BarrierReport

Source§

fn default() -> BarrierReport

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.