This behaviour has been reported in a previous version and reported as closed, but we are still facing the MassIndexer freeze from time to time, on both development and production environment.
Our datasource is configured with default Spring Boot pool settings (max 100 connections) and is a oracle-xe-11 in a docker container for development and a regular oracle in production.
We are indexing 7 entity types, the reindexing code is pretty straightforward
The reindexing sometimes freezes and sometimes completes successfully. When the reindexing freezes we have this in the logs then it stops:
With the help of debugger we can see that all thread are waiting
hibernateVersion = '5.1.0.Final'
hibernateSearchVersion = '5.5.4.Final'
Spring Boot with: