The Fabric + Mesh on AWS reference ended on a conversation it deliberately left open. A customer asks for their data to be erased under Art. 17 of the GDPR — the DSGVO in German-speaking markets — and by then that data lives in eight producer accounts, has been joined into feature stores, is cached in analytical extracts and has been queried into audit logs. This post covers the mechanics that reference promised, and its central claim is that an erasure across a mesh is three separate jobs, done by different parts of the platform: finding where the requesting customer's data lives, deleting it, and showing afterwards that the deletion reached everything derived from it.
The job that deletes knows which rows it removed, in the tables it was pointed at. The lineage that shows propagation, meaning the record of which job read which dataset and wrote which, knows which datasets descend from the erased one and whether a job has written them since, but it cannot see a single row. Each answers part of what a regulator asks for, and together they still leave gaps that can be named before the first request arrives, which is the most useful thing a team can know in advance.
The storage behaviour described below is the documented behaviour of the services named, and the regulatory reading follows a report from the European Data Protection Board (EDPB), the EU body in which the national data protection authorities agree how the GDPR is to be applied. Those national authorities, which the regulation calls supervisory authorities, are the ones that investigate and fine. In 2025, 32 of them ran a coordinated enforcement action on the right to erasure, putting the same questionnaire to 764 controllers — the organisations that decide how personal data is processed — and the EDPB's report on that action, adopted on 10 February 2026, is cited below by its section numbers. None of it is drawn from a client engagement. The qedro output is quoted verbatim from the released 0.11.0, as captured by script in the qedro repository.
§ 1 — What Art. 17 asks of a data platform
Art. 17(1) requires erasure without undue delay when one of six grounds applies, among them a withdrawn consent, data no longer needed for its purpose, and a successful objection. Art. 12(3) sets the outer limit for the response at one month from the request, extendable by two further months for complex or numerous requests, provided the customer is told within the first month. Art. 5(2) adds the requirement platforms most often underestimate: the controller must be able to demonstrate compliance, so an erasure that happened but cannot be shown is, in front of an authority, hard to tell apart from one that did not.
Art. 17(3) lists exceptions, so not every request ends in deletion, and the one a platform in Germany meets most often is a legal obligation to keep the data. The Commercial Code (§ 257 HGB) and the Fiscal Code (§ 147 AO) require ledgers, booking records and business correspondence to be kept for six to ten years, counted from the end of the year in which each record was made, whether or not the requester is still a customer. Where such a duty applies the data stays, restricted under Art. 18 so that it is stored and not used. The Federal Data Protection Act, Germany's supplement to the GDPR, applies the same rule in § 35(3) BDSG to retention periods set by statute or contract. Its § 35(1) also replaces erasure with restriction when the type of storage makes deletion impossible or disproportionately expensive, but only for non-automated processing, so it offers no cover for a customer left in an S3 backup. The EDPB report found controllers going wrong on both sides of this line, some treating exceptions as automatically applicable without assessing the request, others not knowing which retention duties applied to them at all (§ 4.2.4 and § 4.2.5 of the report).
For a platform, the request divides into three jobs, and each belongs to a different component because each needs knowledge the others do not have:
| Job | The question it answers | Who answers it | What it knows |
|---|---|---|---|
| Enumerate | Where does this customer's data live now? | The catalog and its classification tags | Every dataset somebody registered and tagged |
| Erase | Delete the data, or restrict what must be kept | An erasure orchestrator that runs deletion tasks per domain | The rows it deleted, in the tables it was given |
| Prove | Did the deletion reach everything derived from the source? | The lineage, read forward from the erased dataset | Which datasets descend from it, and whether a job wrote them afterwards |
The next three sections take these in order, and the last is about what falls between them.
§ 2 — Enumerating: the catalog knows what was registered
In the mesh from the reference post, LF-tags — the Lake Formation tags that carry a classification on every table — already record which datasets hold customer data, which domain owns them and where they reside, so the first list an orchestrator needs comes from a tag query rather than a search. The walkthrough of our four open-source packages asked the same question of cordata-catalog-mcp: which datasets hold customer data, and who reads them. The EDPB report recommends the same starting point, mapping personal data and storage locations from the record of processing activities where possible, after finding that some controllers could not locate all the relevant data and that many excluded backups by default without giving a reason (§ 4.2.1).
A catalog answers for what was registered, and the copies that cause trouble in an erasure are mostly the ones nobody registered. In the walkthrough, a CSV file written by an export script appeared in no catalog and was found only because the script emitted a lineage event when it ran. Enumeration therefore needs two inputs, the catalog for the datasets that are known and the lineage for everything derived from them, and § 4 uses the second.
§ 3 — Erasing: where a deleted row survives
The orchestrator is described here as a set of design decisions rather than as a module to copy. An earlier plan for this post included a Terraform pattern for it, and that plan was dropped because Terraform provisions the queue, the state machine and the permissions around an erasure and performs none of the erasure itself. What matters is what each deletion task has to handle, and in every case below the row survives because a storage layer was built to keep history.
Versioned buckets and table formats keep the previous state
A DELETE on an object in a versioned S3 bucket leaves the data in place. S3 adds a delete marker, a placeholder that becomes the current version, and the previous version stays readable by anyone who asks for it by version ID until a lifecycle rule expires noncurrent versions or something deletes that version explicitly. Under Object Lock in compliance mode no user can delete a locked version before its retention date, the account's root user included, and AWS's documentation notes that the only way to remove one earlier is to delete the account. A raw zone that holds personal data under a compliance-mode lock longer than its purpose requires is therefore a decision to refuse erasure for that period, and the Art. 17(3) ground for it belongs on record before the bucket is created rather than after the first request.
Table formats behave the same way one level up. A DELETE on a Delta Lake or Apache Iceberg table writes a new version of the table without the row, while the data files of earlier versions remain until Delta's VACUUM, seven days later by default, or Iceberg's snapshot expiry removes them. With deletion vectors or merge-on-read deletes, the row stays inside its original data file until compaction rewrites that file. Snowflake keeps changed and deleted data for its Time Travel period, up to 90 days on Enterprise edition, followed by seven days of Fail-safe from which only Snowflake can recover it.
A deletion therefore has two dates, when the row left the current version of the table and when its last physical copy expired. The orchestrator should record both, and the second is the date to give the customer in the reply to their request.
CDC landing zones keep the insert after the delete
Change data capture, which replicates a database by streaming its inserts, updates and deletes, turns a deletion into one more record. AWS DMS writing to S3 marks each CDC record with I, U or D in its first field, and a D record carries the row as it was before the delete. The landing zone then holds the original insert in an older file and the delete in a newer one, so the customer's data is in both until something compacts the zone by primary key. With CdcInsertsOnly or CdcInsertsAndUpdates set, DMS writes no deletes at all, and the erasure in the source never reaches the lake. A stream between the two, such as Kinesis Data Streams with its retention of up to 365 days, keeps a copy of its own for as long as it is configured to.
Derived copies: extracts, query results and incremental aggregates
Everything built from the erased table needs rebuilding from the cleaned source, and some derived data is never rebuilt by default. Athena writes the result of every query to an S3 location, where it stays until a lifecycle rule removes it, and an export such as the walkthrough's CSV keeps whatever retention its directory has. An incremental model, such as one built with dbt's incremental materialisation, processes only new source rows on each run, so a monthly rollup that included the customer's transactions keeps that contribution in every partition written before the erasure, however many runs follow. A rollup at customer grain is personal data and must be rebuilt. One at population grain with no small groups may be anonymous in the sense of Recital 26 of the GDPR, which takes data outside the regulation once no one can reasonably identify anyone from it, but deciding that is a judgement for the data protection officer rather than a property of the SQL.
Embedding stores hold the text twice
A retrieval index built for an AI assistant usually stores each chunk of text together with its embedding, a vector of numbers computed from the text, under a document ID. Deleting the source row removes neither, and keeping only the vector is not a safe fallback: Morris et al. (EMNLP 2023) reconstructed 92% of 32-token inputs exactly from their embeddings and recovered full names from clinical notes. The deletion task needs the source key stored as metadata on every chunk so that it can delete by filter, and the re-ingestion job has to read from the cleaned source rather than from a snapshot taken before the erasure, or the next refresh puts the customer's data back. A model fine-tuned on the data raises a separate question, which the EDPB addressed in its Opinion 28/2024 on AI models and which this post leaves aside.
Backups need a ledger that every restore replays
Half of the supervisory authorities that responded raised concerns about erasure in backups (§ 4.2.6). The report describes the tension on both sides: modifying a backup may not be advisable, because its integrity is what protects an organisation against ransomware, but a controller that leaves the backup alone needs procedures that keep track of erasure requests and apply them to restored systems. The authorities also found controllers relying on backup retention alone, and one authority found deletions carried out in increments spanning long periods, which makes it hard to say the erasure happened without undue delay. The report says the EDPB may issue guidance on what that phrase means for backups, so the question is still open. The design that follows from the report as it stands is an erasure ledger kept outside the backups and replayed after every restore, with the backup retention period as the bound stated in the reply to the customer. The ledger holds identifiers of the customers who asked for erasure, which is processing in its own right, so it should hold the minimum needed to replay a deletion and nothing more.
Masking is not erasure while the key exists
Replacing an IBAN with a token, or hashing it, is pseudonymisation. The report found controllers using basic pseudonymisation or partial masking in place of deletion, which does not meet the GDPR's requirements for erasure (§ 4.2.7). The Court of Justice's judgment in EDPS v SRB (C-413/23 P, 4 September 2025) explains why from the other direction: whether pseudonymised data is personal depends on who holds it and whether they have the means to re-identify it, so for the controller that keeps the token vault, the masked column is still personal data. Destroying the key is the usual engineering answer — crypto-shredding encrypts each customer's data under its own key and deletes that key on request — but whether a deleted key counts as erasure of the ciphertext has not been settled in guidance, and the EDPB says it is working on guidelines on anonymisation. Until it has, masking can protect the data while an erasure is under way, and purging it is what completes the erasure.
§ 4 — Proving: what lineage can show, and what it cannot
The third job reads the lineage forward from the erased dataset. Here the lineage comes as OpenLineage events, the open standard in which data tools such as Spark, dbt and Airflow report what each job read and wrote while it runs. qedro erasure walks that record and reports each descendant together with whether a job has written it since the erasure. The runs below use the demo that ships with qedro: three weeks of dbt, Airflow and Spark lineage, from 6 to 26 July 2026, for a company that does not exist. Its timestamps are fixed, so the same command prints the same output on any machine, and the repository's CI fails if a quoted transcript stops matching. In that lineage, an erasure job overwrote crm_raw.contacts on 22 July and emitted the standard lifecycleStateChange facet as it did, so the instant of the erasure is evidence rather than a date somebody typed:
$ qedro erasure demo/lineage-declared --dataset crm_raw.contacts
Erasure of warehouse/crm_raw.contacts
tombstone 2026-07-22T09:18:00+00:00 — emitted overwrite, not a drop or truncate
warehouse/crm_curated.customers
derived by acme.crm/customers-curated
state written 2026-07-26T01:36:00+00:00 — 4 runs since the tombstone
how not reported, so not shown to have replaced the contents
warehouse/billing_curated.invoices
derived by acme.billing/invoices-nightly
state written 2026-07-26T04:06:00+00:00 — 4 runs since the tombstone
how not reported, so not shown to have replaced the contents
warehouse/billing_curated.dunning_cases
derived by acme.billing/dunning-weekly
state not written since the tombstone
…
this record does not claim to be a proof:
! 1 of 3 descendants has not been written since the tombstone: warehouse/billing_curated.dunning_casesThe weekly dunning job has not run since the erasure, so the dunning cases still hold whatever they held on 21 July, and the record names that branch rather than reporting success. qedro prints its end-of-proof mark, ∎, only when an output stands on its own evidence, and withholds it here for that reason. The tombstone is the instant every descendant is measured against. The walkthrough gave it by hand, because nothing in that demo emits an event for the erasure itself; here it came from the erasure job.
That facet is the part of the orchestrator's design this job depends on. OpenLineage's lifecycleStateChange includes DROP, TRUNCATE and OVERWRITE among its states, and an erasure task that rewrites a table or partition without the customer's rows can report OVERWRITE as it does so. A row-level DELETE has no state of its own in that list, so a task that deletes rows in place leaves the instant to be supplied by hand. The overwrite has a problem of its own, because Spark reports OVERWRITE on every overwriting write, and on a table rewritten nightly most of those events are routine. Given five nightly overwrites of a snapshot table and no date, qedro takes the latest and withholds the mark:
$ qedro erasure docs/evidence/erasure-overwrites --dataset crm_curated.contacts_snapshot
…
candidates 5 completed runs overwrote it; the latest was taken, as no --since
says when the erasure was requested
…
this record does not claim to be a proof:
! 5 runs overwrote warehouse/crm_curated.contacts_snapshot in the window and nothing says which one carried out the erasure, so the latest was taken — on a table rewritten on a schedule that is the last scheduled run; pass --since with the date the erasure was requestedGiven the date of the request, it takes the first overwrite after that date, and the record earns the mark:
$ qedro erasure docs/evidence/erasure-overwrites --dataset crm_curated.contacts_snapshot --since 2026-07-22T10:00:00Z
…
tombstone 2026-07-23T02:13:10+00:00 — emitted overwrite, not a drop or truncate
…
candidates 2 completed runs overwrote it; the first after --since was taken
…
every descendant was written after the emitted overwrite ∎That input is synthetic, and the repository labels it so: five nights of a Spark job, in the event shape openlineage-spark 1.53.0 produces for an overwriting write. Its lesson for the orchestrator is that on a table overwritten anyway, an overwrite alone does not identify the erasure, so the request date has to travel with it, which is one more thing the ledger from § 3 is for.
What "written" means in the record
qedro counts a descendant as reached when a run that wrote it completed after the tombstone, and it reports how each write happened wherever the event says so. A write replaced the dataset's contents when the output carries an OVERWRITE, TRUNCATE or DROP state, or when dbt reports the model as a table or a view. A dbt incremental or snapshot model only appended, so a descendant reached only by appends does not count as reached, and the mark is withheld. That covers the monthly rollup from § 3 when dbt builds it, whose partitions from before the erasure still hold the customer's contribution.
Every other write says nothing about how it wrote. Airflow tasks, art30-emit and Spark appends all fall in this group, and so do all three descendants in the runs above, which is what the how line reports. The pipeline runtime belonged here too until its 0.2.10 release, which reports OVERWRITE on every output it replaces, so its rebuilds now show as rebuilt. qedro still counts such a write and says that it was not reported. Few emitters report how they wrote, so refusing those writes would withhold the mark on most lineage in use today. Every record states the rule in its scope statement:
This record covers datasets, not rows. It can show that a dataset descends from the
erased one and that a job wrote it after the erasure; it cannot show that a
particular data subject's rows are gone, because no lineage event carries that. A
write replaced a dataset's contents only where the event says so — an overwrite,
truncate or drop, or a dbt table or view — and an appending job adds to a dataset
without touching what it held before, so a descendant only appended to since the
erasure is not counted as reached. A write that did not say how is counted, and the
record says it did not say: evidence that the erasure was propagated, not proof that
it was complete.An incremental job outside dbt therefore still shows as written, marked as not having said how, while its old partitions keep the customer's data. The orchestrator's plan has to include a full or partition-targeted rebuild for every such job, and a rebuild job whose emitter can report OVERWRITE turns a write that did not say how into one the record can show replaced the contents.
§ 5 — Rows and datasets: what the pair still misses
The EDPB report asks controllers to verify that an erasure has been carried out and to be able to demonstrate it (§ 4.2.6), and the ledger and the lineage record each cover part of that. The ledger shows which rows were deleted where, and when their physical copies expire. The lineage record shows which datasets descend from the source and which have not been written since, which is the half that finds forgotten copies. Read side by side, they also check each other, since a descendant that the ledger skips and that has stayed unwritten since the tombstone is a dataset the orchestrator was never pointed at.
What neither of them sees can be listed before the first request:
- Data outside every pipeline. Spreadsheets, e-mail and tickets appear in no catalog and emit no lineage. The report mentions a controller that treated personal data in e-mails as out of scope by default (§ 4.2.1).
- Jobs that emit nothing. Lineage reaches as far as the emitters do. A script that writes a copy without emitting an event is invisible to the walk unless something like
art30-emitwraps it. - Rows inside appended partitions. The record withholds the mark for a dbt incremental model, but any other appending job shows as a write that did not say how, as § 4 explains.
- Backups and versions not yet expired. These are dates in the ledger, and no lineage event describes them.
The decisions that close most of those gaps are better taken before the first request than during it:
- Record the Art. 17(3) ground for every retention lock before the bucket is created.
- Configure change data capture to carry deletes, and compact landing zones by primary key.
- Store the source key on every derived record that cannot be rebuilt from the source, including chunks in vector stores and exported files.
- Keep the erasure ledger outside the backups, with both dates for every deletion, and replay it after every restore.
- Have erasure tasks emit
lifecycleStateChange, and keep the request date so the record can be anchored with--since. - Run the lineage walk after every erasure, and treat a withheld mark as a work item for the domain that owns the named dataset.
Cordata does this work with platform teams as part of its data governance engagements: designing the deletion path for each storage layer in § 3, the ledger and its replay after a restore, and the change data capture and retention settings that decide whether a deletion ever reaches the lake. Three of our open-source packages cover parts of it today. cordata-catalog-mcp lists which registered datasets carry a kind of personal data and who reads them, art30-emit makes a script that emits nothing visible to the lineage, and qedro erasure walks the lineage after each erasure and withholds its mark wherever a descendant has not been written, was only appended to, or was measured against an instant nothing identified. The legal decisions stay with the controller's data protection officer and counsel, including which exception applies and whether an aggregate is anonymous; what the packages provide is the evidence those decisions rest on.
We are also working on changes that close gaps this post names, and two have already shipped: since 0.2.10 the pipeline runtime reports OVERWRITE on the outputs it replaces, so its rebuilds show as rebuilt rather than as writes that did not say how, and since 0.4.0 cordata-catalog-mcp returns the § 2 list in one call, with each dataset's owner, retention tag and readers. Next, qedro will read the orchestrator's ledger and name every descendant the deletion tasks skipped that has also stayed unwritten since the erasure, which automates the cross-check from this section without handing it anyone's identity. Each is tracked in the package's public repository.
If you have run erasure requests across a platform like this and found a place a row survives that is not on this list — or read the backup guidance differently from the way it is read here — I would like to hear it at cordata.tech/contact. Related reading: the Fabric + Mesh on AWS reference for the mesh this post erases from, the Data Governance pillar for the regulatory pressures around it, and From claim to evidence, hands-on for the four packages used here, run end to end on one dataset.