All work

Select view

Select search mode

 
50 of

Handle network errors in the COMMIT state more gracefully

Description

The COMMIT state requires good network access to perform all the checks before committing the deployment/update. However, doing a rollback (or generally aborting the deployment) because of a temporary network outage could be an expensive thing to do potentially even blocking devices from being updated if they have (windows of) bad network. We either need to:

  • add a new PRE_COMMIT state in which the client would sit waiting for good network, or

  • be able to stay in the COMMIT state waiting for good network before performing checks.

In both cases, the Mender work has to be rescheduled to let other things run in the meantime. The number of retries and intervals between them should be configurable, either with specific options or using the backoff config options that we already have.

Affects versions

None

Environment

None

Details

Assignee

Reporter

Story Points

Priority

Days in progress

0

Components

Backlog

yes

Zendesk Support

Checklist

Created 2 days ago
Updated 16 hours ago

Activity

Show:

Flag notifications