# How to detect deleted entities w/ replicated DB?

**URL:** <https://community.metabrainz.org/t/how-to-detect-deleted-entities-w-replicated-db/815494>\
**Category:** Development\
**Created:** [August 19, 2026, 4:16am UTC](https://community.metabrainz.org/t/how-to-detect-deleted-entities-w-replicated-db/815494 "2026-08-19T04:16:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oddnaan](https://community.metabrainz.org/user_avatar/community.metabrainz.org/oddnaan/32/122984_2.png) [@oddnaan](https://community.metabrainz.org/u/oddnaan)\
**Post date:** [August 19, 2026, 4:16am UTC](https://community.metabrainz.org/t/how-to-detect-deleted-entities-w-replicated-db/815494/1 "2026-08-19T04:16:33Z")

</div>

I’m self-hosting a live mirror of musicbrainz (db only) and noticed recently that a release group had been deleted. I wasn’t surprised - it was attributed to the wrong artist, which is why I was keeping track of it.

Nevertheless, I’m not sure how I can programmatically detect deletions. There is a `deleted_entity` but from what I can tell it’s not updated via live replication.
