Skip to content

Commit

Permalink
Update ADR documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotjordan committed Feb 19, 2025
1 parent 9d1e2bb commit b57ea0b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions architecture-decisions/0004-deleting-records.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ DeletionMarker if not.

#### Transformation Consumer

1. Messages with the deleted => kv pair are handled separately.
1.A special solr document is generated from the deleted object hydration cache
1. A special solr document is generated from the deleted object hydration cache
entry with the following structure.
```
%{ id: "id", deleted: true }
Expand All @@ -47,7 +46,9 @@ entry with the following structure.
the `delete` batcher.
1. The delete batcher sends the deleted record ids to a the Solr.delete_batch
function which iterates over them, deletes each record, and then commits the
batch of deletes.
batch of deletes. The additional batcher doesn't create a potential race
condition because there is only one entry for the resource earlier in the
pipeline.

## Consequences

Expand All @@ -56,5 +57,4 @@ restored. This means that DPUL-C will have to triage an ever increasing number
over time.

- Deleted resource hydration and transformation cache entries will stay in the
cache after the resource is remove from Solr until the next full reindex, or in
the case of the transformation cache, partial reindex.
cache after the resource is remove from Solr until the next full reindex.

0 comments on commit b57ea0b

Please sign in to comment.