See for example org.hibernate.search.backend.lucene.work.execution.impl.LuceneIndexIndexer#submit: if the call to orchestrator.submit results in offloading the operation, and something goes wrong in the offloading thread and submitting ends up failing, the future returned by LuceneIndexIndexer#submit will never complete. We should make sure that such failures are propagated, somehow. |