Skip to content

How the DELETE strategy works? #519

Answered by ianFar96
javferrod asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @javferrod

The default methods of deletion for Projections and Single Views are Soft Delete for the Projections and Hard Delete for the Single Views. As you mentioned this can be modified by env vars in the services.

Considering the defaults this would be the answer to your questions:

  1. What happens to the Single View and Projection record if a delete event of a base projection is captured?
  • The projection record will be soft deleted and the single view record will be hard deleted.
  1. What happens to the Single View and Projection record if a delete event of a non-base projection is captured?
  • the projection record will be soft deleted and the single view will be updated, meaning that …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@javferrod
Comment options

Answer selected by javferrod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants