Retry GCS on 503 errors #49982

Open
opened 2016-11-10 09:01:44 +01:00 by Sybren A. Stüvel · 2 comments

Google Cloud Service sometimes throws 503 Service Temporarily Unavailable errors at us. We might want to retry once or twice after such a reply, to see if the service has come up. However, we should consider this carefully, given that:

  • we probably want to pause for a second or two between retries, to give GCS to come up and service us again, and
  • during this delay the Pillar process is sleeping, blocking others from performing requests on it.

If we do this the wrong way, a hickup at GCS could cause all Pillar processes to hang in a retry loop, DOSsing ourselves.

Probably related to #48956.

Google Cloud Service sometimes throws 503 Service Temporarily Unavailable errors at us. We might want to retry once or twice after such a reply, to see if the service has come up. However, we should consider this carefully, given that: - we probably want to pause for a second or two between retries, to give GCS to come up and service us again, and - during this delay the Pillar process is sleeping, blocking others from performing requests on it. If we do this the wrong way, a hickup at GCS could cause all Pillar processes to hang in a retry loop, DOSsing ourselves. Probably related to #48956.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscribers: @dr.sybren, @fsiddi, @pablovazquez

Added subscribers: @dr.sybren, @fsiddi, @pablovazquez
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: archive/pillar#49982
No description provided.