bshashikant commented on issue #556: HDDS-3018. Fix 
TestContainerStateMachineFailures.java
URL: https://github.com/apache/hadoop-ozone/pull/556#issuecomment-598058629
 
 
   Thanks @timmylicheng . I think the problem seems to be arising out a race 
condition of sort. By the time, allocateBlock call comes to SCM, there is no 
pipeline of factor 1 . As a result of which allocateBlock call itself calls 
createPipeline and in the meantime, background thread creates the 1 node 
pipeline using up the dn, thereby failing allocateBlock call as the pipeline 
creation invoked as a part of allocateBlock failed, thereby failing the client 
write. What do you think?

----------------------------------------------------------------
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

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

Reply via email to