pzampino opened a new pull request #264: KNOX-2233 - DefaultKeystoreService 
getCredentialForCluster uses cache…
URL: https://github.com/apache/knox/pull/264
 
 
   … without synchronization
   
   ## What changes were proposed in this pull request?
   
   Added synchronization to getCredentialForCluster(String, String) since it 
uses/updates the cache (e.g., checkCache(String, String), addToCache(String, 
String, String)). At a minimum, this avoids potential repeated unnecessary 
keystore file accesses for the same alias.
   
   ## How was this patch tested?
   Performed some manual testing, but since the overall behavior should not 
change, ran all existing tests as validation.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to