-
-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] PersistenceEventListener slows down the system since 12.0.4 #4139
Comments
Found out that the problem is that my child entites dont find any rootPageIds which lead to that processRecord tries to delete every single item. My storage folder is not into a rootPageId. The buildSiteRootsByObservedPageIds method also doesn't find a rootPageId because the child entity has no indexConfiguration.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Since the update from 12.0.3 to 12.0.4 I have a massive perfomance Issue if I save an entity with a lot of child entites.
a process which takes 5-10~ seconds needs now more than 40-50~ seconds.
I found out that the problem is the DataUpdateHandler in combination with the PersistenceVentListener
In 12.0.3 you used this method to remove an Item from the garbage collector.
this method checked if the record table is in the indexqueue.
In 12.0.4 you used this method
this leads to this situation that every child entity in my main entity also has a request to the SOLR server If it was deleted. although they aren't indexed.
For example. I have an article model which is indexed to SOLR. This article model has many filters as child entity which are not in SOLR. If I remove 20 filters each of them do a solr request.
The DataUpdateHandler calls the collectGarbage method for the filter too.
Used versions (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: