You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/05/07 07:08:00 UTC
[jira] [Commented] (KUDU-2612) Implement multi-row transactions
[ https://issues.apache.org/jira/browse/KUDU-2612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17340621#comment-17340621 ]
ASF subversion and git services commented on KUDU-2612:
-------------------------------------------------------
Commit ac91eb51009636a0b68dbc7271f63b62ab6f3350 in kudu's branch refs/heads/master from Alexey Serbin
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=ac91eb5 ]
KUDU-2612: update Java client API to commit a transaction
This patch updates the signature of the KuduTransaction::commit()
method to address recent feedback on the txn-related API. The idea is
to make the API easier to use, since txn.commit(false) looks a bit vague
and might be confusing as well.
In essence, the 'wait' parameter is gone and now there are two methods:
* KuduTransaction.commit()
* KuduTransaction.startCommit()
The former starts committing a multi-row transaction and waits for the
commit phase to finalize. The latter just starts the commit phase for
a multi-row transaction and returns, not awaiting for the commit phase
to finalize.
These changes mirror recent changes in the C++ client API.
Change-Id: Ia8c48b4d375945649c48428401f09ec5c7cc8cb7
Reviewed-on: http://gerrit.cloudera.org:8080/17393
Tested-by: Kudu Jenkins
Reviewed-by: Grant Henke <gr...@apache.org>
Reviewed-by: Andrew Wong <aw...@cloudera.com>
> Implement multi-row transactions
> --------------------------------
>
> Key: KUDU-2612
> URL: https://issues.apache.org/jira/browse/KUDU-2612
> Project: Kudu
> Issue Type: Task
> Reporter: Mike Percy
> Priority: Major
> Labels: roadmap-candidate
>
> Tracking Jira to implement multi-row / multi-table transactions in Kudu.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)