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

Moving Transaction tombstone behavior onto Batch. #1367

Merged
merged 2 commits into from
Jan 14, 2016

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented Jan 8, 2016

This is so that commit request protos are not re-used, so we can re-use and modify them when passed into Connection.commit.

Fixes #1366.


@tseaver The tests still pass (as well as coverage) dude to transitive use of the newly moved code. What sort of tests would you like to see added?

@dhermes dhermes added the api: datastore Issues related to the Datastore API. label Jan 8, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 8, 2016
@tseaver
Copy link
Contributor

tseaver commented Jan 14, 2016

We probably need to add explicit tests in test_batch for the new Batch.commit and Batch.rollback methods (even though we have coverage via test_transaction.

@dhermes
Copy link
Contributor Author

dhermes commented Jan 14, 2016

👍 On it.

This is so that commit request protos are not re-used,
so we can re-use and modify them when passed into
`Connection.commit`.
@dhermes
Copy link
Contributor Author

dhermes commented Jan 14, 2016

@tseaver PTAL

@tseaver
Copy link
Contributor

tseaver commented Jan 14, 2016

LGTM

dhermes added a commit that referenced this pull request Jan 14, 2016
Moving Transaction tombstone behavior onto Batch.
@dhermes dhermes merged commit 592c8e8 into googleapis:master Jan 14, 2016
@dhermes dhermes deleted the fix-1366 branch January 14, 2016 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: datastore Issues related to the Datastore API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants