Skip to content
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

Adding a "STARTING" status for Pub / Sub Batch.commit(). #4614

Merged
merged 1 commit into from Dec 18, 2017

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented Dec 18, 2017

Towards #4575.

@dhermes dhermes added the api: pubsub Issues related to the Pub/Sub API. label Dec 18, 2017
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 18, 2017
@@ -162,48 +165,47 @@ def _commit(self):
version, which calls this one.
"""
with self._commit_lock:
# If, in the intervening period, the batch started to be committed,
# or completed a commit, then no-op at this point.
if self._status != base.BatchStatus.ACCEPTING_MESSAGES:

This comment was marked as spam.

@dhermes dhermes merged commit 6ac842a into googleapis:master Dec 18, 2017
@dhermes dhermes deleted the pubsub-publisher-batch-starting branch December 18, 2017 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the Pub/Sub API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants