Skip to content

Conversation

@calpeyser
Copy link
Contributor

No description provided.

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please let us know the company's name.

@googlebot googlebot added the cla: no This human has *not* signed the Contributor License Agreement. label Apr 6, 2017
Copy link
Contributor

@lukesneeringer lukesneeringer left a comment

Choose a reason for hiding this comment

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

Hi @calpeyser,
Thanks for submitting your PR. We are really grateful.

I have a few issues that I would appreciate if you could look into before I can merge. (Also, CI needs to pass.)

Thanks!

@@ -0,0 +1,295 @@
package main

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

from google.cloud.bigtable.retry import ReadRowsIterator, _create_row_request
from grpc import StatusCode

BACKOFF_SETTINGS = BackoffSettings(

This comment was marked as spam.

This comment was marked as spam.

# limitations under the License.

"""User friendly container for Google Cloud Bigtable Table."""
from __future__ import absolute_import, division

This comment was marked as spam.

self.total_timeout = (retry_options.backoff_settings.total_timeout_millis / _MILLIS_PER_SECOND)
self.set_stream()

def set_start_key(self, start_key):

This comment was marked as spam.

while deadline is None or now < deadline:
try:
return six.next(self.stream)
except StopIteration as stop:

This comment was marked as spam.

return six.next(self.stream)
except StopIteration as stop:
raise stop
except Exception as exception: # pylint: disable=broad-except

This comment was marked as spam.

except Exception as exception: # pylint: disable=broad-except
code = config.exc_to_code(exception)
if code not in self.retry_options.retry_codes:
raise errors.RetryError(

This comment was marked as spam.

' classified as transient', exception)

# pylint: disable=redefined-variable-type
exc = errors.RetryError(

This comment was marked as spam.

Copy link
Contributor

@garye garye left a comment

Choose a reason for hiding this comment

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

Thanks for putting this together!

@@ -1,599 +0,0 @@
# Copyright 2015 Google Inc.

This comment was marked as spam.

def process_write(self, table, payload):
pass

def process_scan(self, table, range, ids):

This comment was marked as spam.

@@ -0,0 +1,54 @@
import unittest

This comment was marked as spam.

@@ -0,0 +1,295 @@
package main

This comment was marked as spam.

from google.cloud.bigtable.retry import ReadRowsIterator, _create_row_request
from grpc import StatusCode

BACKOFF_SETTINGS = BackoffSettings(

This comment was marked as spam.

self._validate_chunk(chunk)

if ("ReadRowsIterator" in self._response_iterator.__class__.__name__):
self._response_iterator.set_start_key(chunk.row_key)

This comment was marked as spam.

@tseaver tseaver added the api: bigtable Issues related to the Bigtable API. label Apr 18, 2017
@lukesneeringer lukesneeringer added the priority: p2 Moderately-important priority. Fix may not be included in next release. label Apr 19, 2017
@tseaver tseaver mentioned this pull request May 15, 2017
@tseaver
Copy link
Contributor

tseaver commented May 15, 2017

Superseded by #3324

@tseaver tseaver closed this May 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtable Issues related to the Bigtable API. cla: no This human has *not* signed the Contributor License Agreement. priority: p2 Moderately-important priority. Fix may not be included in next release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants