esmero / strawberryfield

A Field of strawberries
GNU Lesser General Public License v3.0
10 stars 5 forks source link

Revisit how to "untrack" Strawberry flavors associated to deleted ADOs #289

Open DiegoPino opened 8 months ago

DiegoPino commented 8 months ago

What?

@alliomeria and I have observed that sometimes the Search Index does not untrack Strawberry Flavors of already deleted ADOs and also already deleted Strawberry Flavors. Which on an index operation will either A) throw notices (but not terrible, that would be Ok-ish) but worst, fail index attempts on batch. This last issue happens because the search api index logic will totally break (even if in a batch) if all entries of a single batch (e.g 50) were not found instead of trying with the next 50. Which requires re-sending the Indexing multiple times until a Batch contains at least 1 found entry

This feels like an important issue to tackle.