Handle tombstone resources for deletions in LDES feed #210
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
the LDES feed uses the Tombstone type to indicate deleted items.
It swaps out the subject's type for Tombstone, and adds the old type under the
formerType
predicate. It's a clean mechanism, we just have to make sure tocapture the tombstone types to overwrite the old data.
connected issues and PRs:
Setup
this will of course only work on new ldes data, so you have to reset your ldes
state for it to pick up on all the deletions
here's how to reset your ldes state without nuking your db:
this will cause the client to do a full ingest on the next tick, so make sure your
BYPASS_MU_AUTH
is set accordinglyHow to test/reproduce
Challenges/uncertainties
Checks PR readiness