cndaimin opened a new pull request #3881:
URL: https://github.com/apache/hadoop/pull/3881


   Reading data on an erasure-coded file with missing replicas(internal block 
of block group) will cause online reconstruction: read `dataUnits` part of data 
and decode them into the target missing data. Each `DFSStripedInputStream` 
object has a `RawErasureDecoder` object, and when we doing pread concurrently, 
`RawErasureDecoder.decode` will be invoked concurrently too. 
`RawErasureDecoder.decode` is not thread safe, as a result of that we get wrong 
data from pread occasionally.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to