You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2019/12/13 19:44:10 UTC

[GitHub] [hadoop-ozone] adoroszlai commented on issue #310: HDDS-2542. Race condition between read and write stateMachineData.

adoroszlai commented on issue #310: HDDS-2542. Race condition between read and write stateMachineData.
URL: https://github.com/apache/hadoop-ozone/pull/310#issuecomment-565582240
 
 
   > I have created https://issues.apache.org/jira/browse/RATIS-776 which addresses the issue you pointed out.
   
   Thank you very much.  I'm +1 on the patch.
   
   Should we wait for new Ratis snapshot/release with the fix for RATIS-776?  My concern is that if we hit this Ratis bug when reaching the given resource limit, and so we need to set the limit sufficiently high to avoid it, then we are in effect using an unlimited cache.
   
   Another question: can we use `ResourceSemaphore` from Ratis instead of duplicating it?  I understand that current Ratis in Ozone has an older version of this class.  But is it feasible to replace the duplicate in a followup, when Ozone is updated to next Ratis snapshot/release?

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org