belugabehr commented on issue #1358: Fix race conditions with commitsInProgress 
counter
URL: https://github.com/apache/accumulo/pull/1358#issuecomment-530933558
 
 
   @keith-turner Thanks for the input.
   
   So, the downside with your proposed solution is that the locking becomes 
very granular.  That is to say, if a method needs to be called with the lock in 
hand, then any initialization of the method happens withing the context of the 
lock.  If the lock is internal to each class, locks can be acquired as-needed.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to