Under multiprocessing environment, two processes might pass the check and one 
of them finish the download, rename. while the other one is still downloading 
or right before rename. In such case, I choose to remove instead of rename 
because there is a rare case where rename might be not atomic in windows based 
on some research on MSDN. it uses remove to mitigate the risk

[ Full content available at: 
https://github.com/apache/incubator-mxnet/pull/12572 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to