Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # dev >> Thread local readpoint would be dropped from MultiVersionConsistencyControl


+
Ted Yu 2013-10-19, 13:39
Copy link to this message
-
Re: Thread local readpoint would be dropped from MultiVersionConsistencyControl
+user

On Saturday, October 19, 2013, Ted Yu wrote:

> Hi,
> In HBASE-9754 , there is refactoring which drops perThreadReadPoint
> from MultiVersionConsistencyControl.
> There're two reasons for this:
> 1. Using ThreadLocal in hot path affects performance
> 2. The readpoint is passed from RegionScannerImpl to various Scanner
> classes. This can be done through passing readpoint parameter directly.
>
> MultiVersionConsistencyControl is marked @InterfaceAudience.Private in 0.96
> and trunk.
> In 0.94, there is no such annotation.
>
> I want to see if any user (other than Phoenix) calls
> MultiVersionConsistencyControl#setThreadReadPoint() directly.
>
> Cheers
>