apurtell opened a new pull request #3377:
URL: https://github.com/apache/hbase/pull/3377


   Depending on which compression codec is used, a short read of the compressed 
bytes can cause catastrophic errors that confuse the WAL reader. This problem 
can manifest when the reader is actively tailing the WAL for replication. The 
input stream's available() method sometimes lies so cannot be relied upon. To 
avoid these issues when WAL value compression is enabled ensure all bytes of 
the compressed value are read in and thus available before submitting the 
payload to the decompressor.
   
   Adds new unit tests TestReplicationCompressedWAL and 
TestReplicationValueCompressedWAL.
   
   Without the WALCellCodec change TestReplicationValueCompressedWAL will fail.


-- 
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:
[email protected]


Reply via email to