Generally when the memstore size has reached for the region, the writes are not blocked except for a fraction of a time till a new memstore is created so that new puts can go into the newly created memstore.
But if you have a heavy flow of puts happening and that is increasing the size of the memstore to more than blockingmemstoresize, then the RegionServer tries to pick the biggest region and tries to flush that region until the memstore size comes below the lower threshold.
During this time if any puts happens to this region then the puts are blocked. If you see this msg in the logs saying "Blocking updates" very frequently then it means the region is heavy and it will affecting your write through put.
Hope this helps.
On Wed, Jan 23, 2013 at 7:26 AM, xkwang bruce <[EMAIL PROTECTED]>wrote:
> hello Varun, > > >>>: Are reads and writes blocked while the memstore is being flushed ? > Another empty memstore will be used for writes. > > cheers > > > 2013/1/23 Varun Sharma <[EMAIL PROTECTED]> > > > Hi, > > > > I have a question about hbase region flushes. Are reads and writes > blocked > > while the memstore is being flushed ? > > > > Thanks ! > > >
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by Sematext