hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Yokota <rayok...@gmail.com>
Subject Re: Mvcc - how long old versions are stored in memory
Date Thu, 16 Nov 2017 15:27:32 GMT
Related:

https://issues.apache.org/jira/browse/HBASE-17125
https://yokota.blog/2016/10/20/tips-on-writing-custom-hbase-filters/

On Thu, Nov 16, 2017 at 3:49 AM, Daniel Połaczański <dpolaczanski@gmail.com>
wrote:

> Hi,
> I was surprised by one HBase behaviour. I was modyfing one cell in one row
> and then I was extracting this row with my custom filter. Timestamp for all
> modifications in my database is currently 0.  Suprising for me was that
> filter was provided with the previouos versions of a cell, praboboly
> because of MVCC mechanism, I would expect that I get only one and the most
> actual version for the "moment" when scan operation starts.
> To Filter out the old versions of the cell I used ReturnCode.NEXT_COL
> instead of SKIP.
>
> Question, how long the old versions of a cell are maintained memory? When
> they are cleaned up?
> Regards
>

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