No read operations are not blocked by any compactions. Compaction will swap in it's newly created file for any subsequent read requests. Any read requests that come in during the compaction will be answered from the files already there and the memstore.
On Mon, Oct 20, 2014 at 8:52 AM, sahanashankar <[email protected]> wrote: > Hello, > > I am trying to understand the working of major compaction and i am > wondering > if a read operation can be performed while the major compaction process is > running on HBase. Will the read operation be queued and start after major > compaction has finished executing? or can both execute together? > > To be more general, will only the particular region be blocked during major > compaction or will the entire RegionServer hosting the region be blocked ? > > Thanks in advance > Sahana > > > > -- > View this message in context: > http://apache-hbase.679495.n3.nabble.com/can-read-operation-be-performed-during-the-execution-of-major-compaction-tp4065208.html > Sent from the HBase User mailing list archive at Nabble.com. >
