For errors without uuid, the DELETE only uses the source_id to find each record to be deleted.
For sources with large number of errors (for example 10280), the DELETE can take more than 20s.
This PR adds a search on the marker id itself (already indexed), which brings delete times down to 36ms in my test.
For errors without uuid, the DELETE only uses the source_id to find each record to be deleted. For sources with large number of errors (for example 10280), the DELETE can take more than 20s.
This PR adds a search on the marker id itself (already indexed), which brings delete times down to 36ms in my test.