symfonic.memory.backends.postgres_erase_create¶
postgres_erase_create ¶
Creating a durable native erase job under the sweep's locks (CORE-199).
PostgresNativeEraser.start calls these inside its first transaction,
after the tenant's lifecycle lock and the EXCLUSIVE graph lock.
create
async
¶
Under both locks: erase content, and record a job only if more remains.
Content over one transaction's budget is not erased here at all: the job
is recorded in phase edges with the subtree's erase generation, and
from that commit every read hides the subtree and every write refuses
under it; chunks erase the content (postgres_erase_content). The flag
says whether the job was recorded that way.