pub enum OperatorRuleContract {
Derived,
Legacy,
}Expand description
How the sites of a cluster treat the operator rules of a replication config merge. Every site must apply the same contract to the same payload or the sites persist different configs, so the S3 edit path probes the peers before merging and a peer payload carries the contract its sender applied.
Variants§
Derived
Site rules are the derived id/ARN shape; operator rule priorities are kept verbatim.
Legacy
Some site still runs the pre-contract code: every site-repl-* id is
a site rule, a site-replication-shaped Role is dropped, and every
rule is renumbered 1..n in list order on ingest and on each reconciler
pass. Merging the same way keeps a mixed cluster on one config; the
operator’s priority values are lost for that edit but their order —
what decides the winning rule per target — is not, because the S3
merge lists the operator rules in priority order first.
Trait Implementations§
Source§impl Clone for OperatorRuleContract
impl Clone for OperatorRuleContract
impl Copy for OperatorRuleContract
Source§impl Debug for OperatorRuleContract
impl Debug for OperatorRuleContract
impl Eq for OperatorRuleContract
Source§impl PartialEq for OperatorRuleContract
impl PartialEq for OperatorRuleContract
impl StructuralPartialEq for OperatorRuleContract
Auto Trait Implementations§
impl Freeze for OperatorRuleContract
impl RefUnwindSafe for OperatorRuleContract
impl Send for OperatorRuleContract
impl Sync for OperatorRuleContract
impl Unpin for OperatorRuleContract
impl UnsafeUnpin for OperatorRuleContract
impl UnwindSafe for OperatorRuleContract
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.