Struct DdlActionRecorder
pub struct DdlActionRecorder<'a> { /* private fields */ }Expand description
Observe-mode twin of RegisteredTableDdlGuard (private to this module) — the same
authorizer, the opposite verdict. The follower MUST apply destructive DDL (its statements are the write-master’s,
already committed upstream), so nothing is denied: the destructive operations are RECORDED
for the post-apply bounce/purge decisions instead of being refused. One authorizer per
connection: install only on paths that do not install the deny guard
(protect_registered_tables = false — Cluster::exec_ddl_with_marker, in rindle-replica,
is the consumer).
Implementations§
§impl<'a> DdlActionRecorder<'a>
impl<'a> DdlActionRecorder<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DdlActionRecorder<'a>
impl<'a> !RefUnwindSafe for DdlActionRecorder<'a>
impl<'a> !Send for DdlActionRecorder<'a>
impl<'a> !Sync for DdlActionRecorder<'a>
impl<'a> Unpin for DdlActionRecorder<'a>
impl<'a> UnsafeUnpin for DdlActionRecorder<'a>
impl<'a> !UnwindSafe for DdlActionRecorder<'a>
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