Mike Percy has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/8617 )

Change subject: KUDU-2165 workaround: avoid TSAN warnings on CacheMetrics
......................................................................


Patch Set 2:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/8617/2/src/kudu/util/cache.cc
File src/kudu/util/cache.cc:

http://gerrit.cloudera.org:8080/#/c/8617/2/src/kudu/util/cache.cc@474
PS2, Line 474:     std::lock_guard<MutexType> l(id_mutex_);
> We need the early return or else we'll end up racing against users of the m
Ah, I see. Yeah, I think it would be an improvement to enforce that only gtests 
call SetMetrics() more than once, while leaving in the lock and early return 
for all build types.



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifc5c6e9306df78c364c8b89651ddcc56b90a924f
Gerrit-Change-Number: 8617
Gerrit-PatchSet: 2
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>
Gerrit-Comment-Date: Tue, 21 Nov 2017 20:05:41 +0000
Gerrit-HasComments: Yes

Reply via email to