Ensure that compactions use already cached blocks but do not cache new data blocks ----------------------------------------------------------------------------------
Key: HBASE-5375 URL: https://issues.apache.org/jira/browse/HBASE-5375 Project: HBase Issue Type: Test Reporter: Mikhail Bautin Create a unit test to verify that compactions reuse existing cached blocks but do not thrash the cache with newly read blocks. Also need to verify that we only read every data block once, e.g. that we don't re-read the block on every next() operation. HBASE-1597 did not seem to include a unit test, so we need to add a test now. This and HBASE-4683 (the unit test that was not checked in) are the remaining missing pieces before we can close HBASE-3976. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira