hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: hbase get and mvcc
Date Tue, 17 May 2016 00:01:49 GMT
On Mon, May 16, 2016 at 4:55 PM, Shushant Arora <shushantarora09@gmail.com>

> Hi
> Hbase uses MVCC for achieving consistent result for Get operations .
> To achieve MVCC it has to maintain multiple versions of same row/cells .
> How many max version of a row/cell does Hbase keeps at any time to support
> Since say multiple gets started one after the other and has not completed
> yet and multiple puts are also occuring in between . Thus it maintains all
> versions whose read point is still in use ?

All ongoing Gets/Scans are registered on startup with their current
readpoint (see HRegion; see constructor for HRegionScannerImpl). Any Put
that falls inside the readpoint of currently ongoing Gets/Scans will be
preserved while the Get/Scan is ongoing.


> Thanks!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message