Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Improve GCE resources refresh mechanism. #479

Merged
merged 1 commit into from
Sep 29, 2020

Conversation

manugarg
Copy link
Contributor

Couple of things in this CL:

= Keep per-zone/per-region cache. This will allow us to make progress even if API call for one zone or region fails.

= Shuffle zones/regions list in each refresh cycle, so that we go through them in different order every time. This may increase our chances to make progress in case of consistent API failures.

PiperOrigin-RevId: 334255401

Couple of things in this CL:

= Keep per-zone/per-region cache. This will allow us to make progress even if API call for one zone or region fails.

= Shuffle zones/regions list in each refresh cycle, so that we go through them in different order every time. This may increase our chances to make progress in case of consistent API failures.

PiperOrigin-RevId: 334255401
@manugarg manugarg merged commit 2afc352 into master Sep 29, 2020
@manugarg manugarg deleted the 63729A23134379909BFCA3AC3C378B48 branch September 29, 2020 19:19
@manugarg manugarg added this to the v0.11.1 milestone Sep 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant