> On Jan. 14, 2015, 2:10 p.m., Ben Mahler wrote:
> > src/authentication/cram_md5/authenticator.hpp, lines 465-480
> > <https://reviews.apache.org/r/29887/diff/2/?file=821731#file821731line465>
> >
> >     What is this fixing? It looks like `initialized` will already gate this 
> > block of code from being called twice if it succeeds.
> >     
> >     Are there multiple threads coming into this?
> >     
> >     Would you mind writing a comment that describes the subtlety I'm 
> > missing?

initialized gates it once per Authenticator, hence once per master, but our 
unit tests spin up multiple masters, and we only want to add/load the auxprop 
plugin once per process, even if there are multiple masters.


- Adam


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29887/#review68134
-----------------------------------------------------------


On Jan. 14, 2015, 2:09 p.m., Till Toenshoff wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/29887/
> -----------------------------------------------------------
> 
> (Updated Jan. 14, 2015, 2:09 p.m.)
> 
> 
> Review request for mesos and Adam B.
> 
> 
> Bugs: MESOS-2050
>     https://issues.apache.org/jira/browse/MESOS-2050
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> see summary.
> 
> 
> Diffs
> -----
> 
>   src/authentication/cram_md5/authenticator.hpp 1819ef4 
>   src/authentication/cram_md5/auxprop.hpp b894386 
>   src/authentication/cram_md5/auxprop.cpp cf503a2 
> 
> Diff: https://reviews.apache.org/r/29887/diff/
> 
> 
> Testing
> -------
> 
> make check (with enhanced verbosity, GLOG_v=2 and gtest_repeat=10000)
> 
> 
> Thanks,
> 
> Till Toenshoff
> 
>

Reply via email to