Adar Dembo has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12918 )

Change subject: util: pull Random methods out from tests
......................................................................


Patch Set 4:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/12918/3/src/kudu/util/random.h
File src/kudu/util/random.h:

http://gerrit.cloudera.org:8080/#/c/12918/3/src/kudu/util/random.h@149
PS3, Line 149:
> The trouble with ThreadSafeRandom.ReservoirSample as a template is that it'
But isn't it sufficient to hold the lock around the call to Uniform() within 
ReservoirSample rather than for the entirety of the method?



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie74eca50d770b9470f6cfb400cf632381a20bd93
Gerrit-Change-Number: 12918
Gerrit-PatchSet: 4
Gerrit-Owner: Andrew Wong <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Todd Lipcon <[email protected]>
Gerrit-Comment-Date: Wed, 03 Apr 2019 23:23:48 +0000
Gerrit-HasComments: Yes

Reply via email to