Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,12 @@ private boolean setStateIfTerminated(String id, boolean cancelled) {
statistics.incrementRequestsCompleted();
return true;
}
} catch (BulkRequestNotFoundException e) {
/*
* Request has been cleared already.
*/
LOGGER.debug("setStateIfTerminated, request {} was auto-cleared on termination.", id);
return true;
} catch (BulkServiceException e) {
LOGGER.error("Failed to post-process request {}: {}.", id,
e.toString());
Expand All @@ -344,4 +350,4 @@ private boolean storeJobTarget(BulkRequestTarget target) throws BulkServiceExcep

return true;
}
}
}