DomGarguilo commented on PR #3219:
URL: https://github.com/apache/accumulo/pull/3219#issuecomment-1453728229

   > It seems to me that we should probably synchronizing around the code that 
uses or modifies the `cur` pointer, to fix that, which is a whole different 
thing than merely making it volatile.
   
   It seems like synchronization was intentionally avoided here for some 
reason. The comment at the top mentions avoiding synchronization. 
   
https://github.com/apache/accumulo/blob/fe31930ccef448a549cea082943c510b678dbecd/core/src/main/java/org/apache/accumulo/core/file/blockfile/impl/SeekableByteArrayInputStream.java#L28-L31


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

Reply via email to