SortableListener postRemove event crashes large DB if more entities were removed -- (ORM adapter) #2270
Labels
Bug
A confirmed bug in Extensions that needs fixing.
Sortable
Still Relevant
Mark PRs that might've been auto-closed that are still relevant.
If there is DB with:
EM::flush()
then DB goes down in SortableListener postRemove event.
ORM::updatePositions()
was used.The crash was severe - tested on MariaDB 10.3 also 10.4. On Linux and Windows the same.
DB was even not recoverable after this happen, DB had to be deleted and recreated.
Basically Sortable works also without relocations persisted on postRemove, but this (disabling the postRemove event in SortableListener) is not the best solution to the problem.
The text was updated successfully, but these errors were encountered: