navinko commented on PR #9529: URL: https://github.com/apache/ozone/pull/9529#issuecomment-3677757682
> > The CodecBufferCodec implementation is not ThreadSafe implementation hence we can not used it for processTableInParallel > > Is the `ByteArrayCodec` thread-safe? Yes 'ByteArrayCodec' is thread safe . My bad , I am not very sure on other implementation details for CodecBufferCodec but looks like the Codec implementation CodecBufferCodec reuse CodecBuffer instances so once CodecBufferCodec will be used as values across multiple thread the CodeBuffer can be modified by other thread in ParallelTableIteratorOperation. -- 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]
