Alexey Serbin has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/16818 )

Change subject: [TxnStatusManagerTest] fix replica restart in 
GetTransactionStatus
......................................................................

[TxnStatusManagerTest] fix replica restart in GetTransactionStatus

Before this patch, there was an issue with accessing already deleted
txn_manager_ member in the TxnStatusManagerTest.TxnStatusManagerTest
scenario and ASAN rightfully reported on that:

  src/kudu/transactions/txn_status_manager.cc:161:53: runtime error: \
    member call on address 0x6150000e7480 which does not point to an \
    object of type 'kudu::tablet::TabletReplica'
  0x6150000e7480: note: object has invalid vptr

Change-Id: I62f86cfc686a121a1689e6f3942aa4050406ffe2
Reviewed-on: http://gerrit.cloudera.org:8080/16818
Reviewed-by: Andrew Wong <[email protected]>
Tested-by: Alexey Serbin <[email protected]>
---
M src/kudu/transactions/txn_status_manager-test.cc
1 file changed, 7 insertions(+), 1 deletion(-)

Approvals:
  Andrew Wong: Looks good to me, approved
  Alexey Serbin: Verified

--
To view, visit http://gerrit.cloudera.org:8080/16818
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I62f86cfc686a121a1689e6f3942aa4050406ffe2
Gerrit-Change-Number: 16818
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Hao Hao <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to