Todd Lipcon has submitted this change and it was merged.

Change subject: lock_manager: fix TSAN error in LockTable::Resize()
......................................................................


lock_manager: fix TSAN error in LockTable::Resize()

This function was doing a non-atomic read of item_count_,
which is decremented outside the lock by Release().

I looped all_types-itest in TSAN which was previously
quite flaky and 50/50 passed:
http://dist-test.cloudera.org/job?job_id=todd.1466706366.9004

Change-Id: Id9d57c2b36bfa794cbd786641e456ad748c60941
Reviewed-on: http://gerrit.cloudera.org:8080/3469
Reviewed-by: Adar Dembo <a...@cloudera.com>
Tested-by: Kudu Jenkins
---
M src/kudu/tablet/lock_manager.cc
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Adar Dembo: Looks good to me, approved
  Kudu Jenkins: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id9d57c2b36bfa794cbd786641e456ad748c60941
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <t...@apache.org>
Gerrit-Reviewer: Adar Dembo <a...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <t...@apache.org>

Reply via email to