Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HSEARCH-4814 (
https://hibernate.atlassian.net/browse/HSEARCH-4814?atlOrigin=eyJpIjoiNzU...
)
Re: Propagate failures to submit operations through OperationSubmitter.offloading() (
https://hibernate.atlassian.net/browse/HSEARCH-4814?atlOrigin=eyJpIjoiNzU...
)
One idea would be to add an argument such as BiConsumer<T, Throwable>
asyncFailureReporter to the various submit methods in OperationSubmitter , so that the
offloading submitter can mark the work as failed as necessary. For BatchingExecutor we’d
use BatchedWork#markAsFailed , and for LuceneParallelWorkOrchestratorImpl we’d use a new
method markAsFailed in
org.hibernate.search.backend.lucene.orchestration.impl.LuceneParallelWorkOrchestratorImpl.WorkExecution.
(
https://hibernate.atlassian.net/browse/HSEARCH-4814#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-4814#add-comment?atlOrigin...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100217- sha1:f4229d0 )