mirror of
https://github.com/stablyai/orca.git
synced 2026-11-17 19:34:29 +00:00
scrubStoppedRecord re-reads the row right before the PATCH and only scrubs one that is still suspended or archived with no session; if the row resumed while the PATCH was in flight, the live policy is re-applied at once (reason scrub_race). Failed rows are left out of the sweep on purpose: failAndRelease destroys their provider sandbox.