Interface SourceFenceTicket

Capture before external work; recheck before any resulting database write. epoch is the owner's fence counter when the ticket was captured. An applied invalidation, a block, a reactivation and a replayed deletion each advance it, which makes every earlier ticket stale.

interface SourceFenceTicket {
    tenantId: string;
    ownerId: string;
    epoch: number;
}

Hierarchy (view full)

Properties

tenantId: string
ownerId: string
epoch: number