Project

Profile

Help

Issue #8576

closed

if wait is set on Throttled() exponential backoff is not enabled

Added by ipanova@redhat.com over 3 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 95
Quarter:

Description

It appears that if having wait set for 5 seconds, the client will always back-off for 5 seconds https://github.com/pulp/pulp_container/blob/master/pulp_container/app/registry_api.py#L661, the exponential backoff in this case won't be triggered.

https://github.com/pulp/pulp_container/pull/289#issuecomment-820524896


Related issues

Copied to Container Support - Issue #8703: Backport to 2.5: if wait is set on Throttled() exponential backoff is not enabledCLOSED - CURRENTRELEASEipanova@redhat.comActions
Actions #1

Updated by ipanova@redhat.com over 3 years ago

  • Subject changed from if wait is set on Throttled exponential backoff is not enabled to if wait is set on Throttled() exponential backoff is not enabled
  • Description updated (diff)
Actions #2

Updated by mdellweg over 3 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to mdellweg
Actions #3

Updated by pulpbot over 3 years ago

  • Status changed from ASSIGNED to POST
Actions #4

Updated by ipanova@redhat.com over 3 years ago

  • Sprint set to Sprint 95

Added by mdellweg over 3 years ago

Revision 3796cab9 | View on GitHub

No wait in Throttled

Stop to tell the client to wait for a specific amount. This way, well behaved clients will increase their waiting time exponentially while retrying.

fixes #8576 https://pulp.plan.io/issues/8576

Added by mdellweg over 3 years ago

Revision 3796cab9 | View on GitHub

No wait in Throttled

Stop to tell the client to wait for a specific amount. This way, well behaved clients will increase their waiting time exponentially while retrying.

fixes #8576 https://pulp.plan.io/issues/8576

Actions #5

Updated by mdellweg over 3 years ago

  • Status changed from POST to MODIFIED
Actions #6

Updated by ipanova@redhat.com over 3 years ago

  • Copied to Issue #8703: Backport to 2.5: if wait is set on Throttled() exponential backoff is not enabled added
Actions #7

Updated by pulpbot over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF