Skip to content

spanner: add txn id to reads and remove promise support in runTransaction#2148

Merged
stephenplusplus merged 1 commit intogoogleapis:masterfrom
callmehiphop:dg--spanner-txn-id
Mar 29, 2017
Merged

spanner: add txn id to reads and remove promise support in runTransaction#2148
stephenplusplus merged 1 commit intogoogleapis:masterfrom
callmehiphop:dg--spanner-txn-id

Conversation

@callmehiphop
Copy link
Copy Markdown
Contributor

Closes #2118
Closes #2144

Per #2118 (comment) I'm extracting out the critical parts while we decide on how best to integrate Promises within runTransaction.

@callmehiphop callmehiphop added the api: spanner Issues related to the Spanner API. label Mar 28, 2017
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 28, 2017
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+2.0e-05%) to 99.912% when pulling d19ac5a on callmehiphop:dg--spanner-txn-id into 4ab5b94 on GoogleCloudPlatform:master.

@stephenplusplus stephenplusplus merged commit 3e2eccd into googleapis:master Mar 29, 2017
@@ -1105,7 +1088,9 @@ var spanner = new Spanner(env);
});

if (attempts < 2) {

This comment was marked as spam.

This comment was marked as spam.


if (attempts < 2) {
runOtherTransaction(transaction);
runOtherTransaction(function() {

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: spanner Issues related to the Spanner API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants