Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/17451


Change subject: KUDU-2612 register txn Java sessions with client
......................................................................

KUDU-2612 register txn Java sessions with client

Prior to this patch, the assertion in AsyncKuduClient.removeSession()
would trigger upon closing a transactional session using via
{AsyncKuduSession,KuduSession}.close().

This patch address the issue by registering the newly created
transactional session with corresponding AsyncKuduClient.  In addition,
a test scenario is added to catch regressions.

This is a follow-up to 7432a7a8aa0c98f8d2177c25b99576b51ff33a93.

Change-Id: I117abc938bca0e698854d944c3fd6f831d3f9ce0
---
M java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduClient.java
M java/kudu-client/src/main/java/org/apache/kudu/client/KuduTransaction.java
M java/kudu-client/src/test/java/org/apache/kudu/client/TestKuduTransaction.java
3 files changed, 64 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/51/17451/1
--
To view, visit http://gerrit.cloudera.org:8080/17451
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I117abc938bca0e698854d944c3fd6f831d3f9ce0
Gerrit-Change-Number: 17451
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to