hubmapconsortium / entity-api

A set of web service calls to return information about HuBMAP entities
https://entity.api.hubmapconsortium.org
MIT License
3 stars 1 forks source link

Add validator to avoid infinite loop in search-api reindex procedure #695

Closed yuanzhou closed 1 month ago

yuanzhou commented 3 months ago

Lesson learned from https://github.com/hubmapconsortium/search-api/issues/825

When updating a Sample or Dataset (including Publication since it's subclass of Dataset) the entity's uuid can NOT be used in the direct ancestor(s) array.