Skip to content

Implement admin client.#17

Merged
dpcollins-google merged 8 commits into
masterfrom
admin_client_impl
Sep 15, 2020
Merged

Implement admin client.#17
dpcollins-google merged 8 commits into
masterfrom
admin_client_impl

Conversation

@dpcollins-google
Copy link
Copy Markdown
Contributor

No description provided.

Also small fix to retrying connection so it doesn't leak reads/writes from previous connections.
…nments.

Also slightly change the semantics of PermanentFailable to not fail a RetryingConnection on retryable errors from a watched awaitable.
This handles aggregating flow control requests without allowing them to get above the max int64 value.
…age processing.

Also ensure all asynchronous loopers are torn down when their underlying objects are.
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 14, 2020
if len(splits) != 3 or len(splits[2]) != 1:
raise InvalidArgument("Invalid zone name: " + to_parse)
region = CloudRegion(name=splits[0] + '-' + splits[1])
return CloudZone(region, zone_id=splits[2])
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: consider checking splits[2] is a number

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nack. splits[2] is not a number, it is a single lowercase character. 'us-central1-a' for example.

@dpcollins-google dpcollins-google requested a review from a team September 15, 2020 20:38
@dpcollins-google dpcollins-google merged commit 3068da5 into master Sep 15, 2020
@anguillanneuf anguillanneuf deleted the admin_client_impl branch March 25, 2022 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants