pub struct PreV2BackupRowCounts {
pub events: u64,
pub traces: u64,
pub episodes: u64,
pub memories: u64,
}Expand description
Pre-migrate per-table row counts captured by the pre-v2 backup manifest.
The four fields mirror the table_row_counts payload emitted by
cortex backup --output and validated by
cortex migrate v2 --backup-manifest. They are the input side of the
post-migrate count-mismatch refusal helper:
verify_post_migrate_row_counts compares this baseline against the
post-migrate store and refuses cutover whenever any table drifts beyond the
documented v1 -> v2 transformation (only events may grow, by exactly the
boundary-append delta).
Fields§
§events: u64Pre-migrate events row count.
traces: u64Pre-migrate traces row count.
episodes: u64Pre-migrate episodes row count.
memories: u64Pre-migrate memories row count.
Trait Implementations§
Source§impl Clone for PreV2BackupRowCounts
impl Clone for PreV2BackupRowCounts
Source§fn clone(&self) -> PreV2BackupRowCounts
fn clone(&self) -> PreV2BackupRowCounts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PreV2BackupRowCounts
impl Debug for PreV2BackupRowCounts
Source§impl PartialEq for PreV2BackupRowCounts
impl PartialEq for PreV2BackupRowCounts
Source§fn eq(&self, other: &PreV2BackupRowCounts) -> bool
fn eq(&self, other: &PreV2BackupRowCounts) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PreV2BackupRowCounts
impl Eq for PreV2BackupRowCounts
impl StructuralPartialEq for PreV2BackupRowCounts
Auto Trait Implementations§
impl Freeze for PreV2BackupRowCounts
impl RefUnwindSafe for PreV2BackupRowCounts
impl Send for PreV2BackupRowCounts
impl Sync for PreV2BackupRowCounts
impl Unpin for PreV2BackupRowCounts
impl UnsafeUnpin for PreV2BackupRowCounts
impl UnwindSafe for PreV2BackupRowCounts
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