Server polling retry mechanism should also be used after re-authentication

Description

While fixing we added an exception for unauthorized error case. This exception meant than instead of triggering the retry mechanism we would wait for the full poll interval (either deployment or inventory).

However further analysis on the Mender Client 3 behavior shows that we don’t have such exception there and therefore we should not modify the behavior.

Acceptance criteria:

  • The poll for deployments and inventory submits are retried through the exponential backoff mechanism for all types of errors

Affects versions

None

Environment

None

Activity

Show:

Daniel DrabitziusJanuary 17, 2025 at 9:56 AM

Looks good to me

Lluis CamposJanuary 17, 2025 at 9:47 AM

Can you review this task? Is the estimation good?

Fixed

Details

Assignee

Reporter

Labels

Story Points

Priority

Started

Jan 21, 2025, 10:42 AM

Days in progress

0

Fix versions

Sprint

Backlog

yes

Zendesk Support

Checklist

Created January 17, 2025 at 9:42 AM
Updated February 25, 2025 at 12:07 AM
Resolved January 26, 2025 at 5:42 PM