pub struct MigrateStats {
pub dbs_scanned: usize,
pub dbs_skipped: usize,
pub rows_seen: usize,
pub records_written: usize,
pub records_skipped_existing: usize,
pub records_skipped_unmappable: usize,
pub complete: bool,
}Expand description
Outcome stats — surfaced in the marker file + the srv log.
Fields§
§dbs_scanned: usizeNumber of per-(channel,version) / per-dev-branch objects.db files
scanned (was “versions” when the scan was single-channel).
dbs_skipped: usizeDBs that existed but couldn’t be read (corrupt / locked). Counted and skipped — they must NOT disable the whole cross-channel registry now that the scan spans every channel (codex P1 on #1389).
rows_seen: usize§records_written: usize§records_skipped_existing: usize§records_skipped_unmappable: usize§complete: boolTrue iff every DB read cleanly. Controls only whether the one-shot
marker is written: on any skipped DB the marker is deferred so a
future launch retries that (possibly transiently-unreadable) DB. It
does NOT gate registry attachment — main.rs attaches whenever the
migration runs, so one bad DB in an unrelated channel can’t disable
cross-channel My Agents (the readable records are served now; the live
mirror backfills the current channel regardless).
Trait Implementations§
Source§impl Clone for MigrateStats
impl Clone for MigrateStats
Source§fn clone(&self) -> MigrateStats
fn clone(&self) -> MigrateStats
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MigrateStats
impl Debug for MigrateStats
Source§impl Default for MigrateStats
impl Default for MigrateStats
Source§fn default() -> MigrateStats
fn default() -> MigrateStats
impl Copy for MigrateStats
Auto Trait Implementations§
impl Freeze for MigrateStats
impl RefUnwindSafe for MigrateStats
impl Send for MigrateStats
impl Sync for MigrateStats
impl Unpin for MigrateStats
impl UnwindSafe for MigrateStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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