Skip to content
This repository has been archived by the owner on Jun 6, 2018. It is now read-only.

Commit

Permalink
Merge pull request #17 from smallsmallc/patch-2
Browse files Browse the repository at this point in the history
[vitess]Change commit from async to sync
  • Loading branch information
enisoc committed May 27, 2016
2 parents a57d914 + 4ac984a commit 6c2f908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vitess/src/main/java/com/yahoo/ycsb/db/VitessClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ private Status applyMutation(QueryCreator.Query query) {
tx.executeKeyspaceIds(
ctx, query.getQuery(), query.getKeyspace(), query.getKeyspaceId(),
query.getBindVars(), query.getTabletType()).checkedGet();
tx.commit(ctx);
tx.commit(ctx).checkedGet();
}
} catch (Exception e) {
e.printStackTrace();
Expand Down

0 comments on commit 6c2f908

Please sign in to comment.