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

Change subject: [test] fix ASAN test failures in master-stress-test
......................................................................

[test] fix ASAN test failures in master-stress-test

The MasterStressTest occasionally failed in ASAN builds [1] [2]. I also built
the test in ASAN mode on a CentOS 7.9 machine, ran it in slow mode 3 times and
all failed.

It seems that some RetryingTSRpcTask is still running after 'TableInfo' object
destroyed if we set 
--enable_metadata_cleanup_for_deleted_tables_and_tablets=true.
To fix heap-use-after-free errors, we should abort and wait all pending tasks
completed before we destroy a TabletInfo object. With this fix the ASAN test
can pass 10 times.

[1] http://jenkins.kudu.apache.org/job/kudu-gerrit/25414/BUILD_TYPE=ASAN/
[2] http://jenkins.kudu.apache.org/job/kudu-gerrit/25448/BUILD_TYPE=ASAN/

Change-Id: I4eff45fbf05644362169485cd32678509eab1b07
Reviewed-on: http://gerrit.cloudera.org:8080/18501
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <[email protected]>
---
M src/kudu/master/catalog_manager.cc
1 file changed, 28 insertions(+), 21 deletions(-)

Approvals:
  Kudu Jenkins: Verified
  Alexey Serbin: Looks good to me, approved

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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I4eff45fbf05644362169485cd32678509eab1b07
Gerrit-Change-Number: 18501
Gerrit-PatchSet: 4
Gerrit-Owner: Yifan Zhang <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Khazar Mammadli <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yifan Zhang <[email protected]>
Gerrit-Reviewer: Yingchun Lai <[email protected]>

Reply via email to