-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update bigtable to use operation.future #3623
Conversation
ce42385
to
0858e11
Compare
@dhermes @lukesneeringer this is ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM though I have two concerns:
- I wish you'd separate the bugfix in
_prepare_create_request
(where you addlocation
to the request payload) into a new PR - It'd be nice to get CircleCI green, especially for these system tests with the changes (have you run them?)
@@ -49,7 +44,8 @@ def _prepare_create_request(cluster): | |||
parent=cluster._instance.name, | |||
cluster_id=cluster.cluster_id, | |||
cluster=data_v2_pb2.Cluster( | |||
serve_nodes=cluster.serve_nodes, | |||
location=cluster.location, | |||
serve_nodes=cluster.serve_nodes |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@@ -65,27 +64,6 @@ class Config(object): | |||
IN_EMULATOR = False | |||
|
|||
|
|||
def _wait_until_complete(operation, max_attempts=5): |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
0858e11
to
2442002
Compare
2442002
to
2540600
Compare
Rebased, will merge when CI is green. |
😀 Yay! |
Towards #3617
NOTE: This is a breaking change. Bigtable previously returned
google.cloud.operation
instances from long-running operations, it now returnsgoogle.cloud.future.operation
instances.