forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Response Ops][Task Manager] Handle errors in
getCapacity
function …
…during task polling (elastic#194759) ## Summary * Moves the `getCapacity` call during task polling within the try/catch so any errors with this function will be caught and logged under the `Failed to poll for work` message and polling continues * During `mget` claim strategy, perform a final check after the `bulkGet` to check for tasks with a null `startedAt` value. If any tasks meet this condition, log some basic info and manually assign the `startedAt`. This is a stop-gap measure to ensure we understand why we might be seeing tasks with null `startedAt` values. In the future we may choose to filter out these tasks from running in this cycle.
- Loading branch information
Showing
4 changed files
with
193 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters