#876

Enforce retained-suspend erase safety across delete and eviction with operator release

Openzibi-pplxopened 1mo ago

Suspend publication failures can leave the only recoverable sandbox state on a node. The current synchronous delete guard identifies terminal retention through an exact failure string. A different diagnostic can bypass it, and cluster-deleted eviction can claim a quarantined row without the same erase-safety decision.

Make retention decisions use durable typed quarantine evidence, with conservative handling of missing, unknown or unreadable evidence. Apply the same policy across synchronous deletion, cluster-deleted eviction, and control-plane handling of node errors or unavailability. Define an explicit operator-authorized path to release a retention hold after recovery or a deliberate discard decision; do not ship an irreversible hold with no resolution path.

Keep scope reviewable and justify any SQL or protocol edits separately. No new persisted reason vocabulary is assumed.

Acceptance coverage: varied publication diagnostics; unknown/missing quarantine evidence; read failures; node timeouts during delete; later cluster-deleted eviction; recovery and operator release. Use synthetic artifacts and identities.

AI assistance: drafted with Codex from repository code review.

Activity

0

No activity yet.