You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/04/24 13:57:04 UTC

[jira] [Commented] (HBASE-17953) VerifyReplication should read all versions other than the latest version by default.

    [ https://issues.apache.org/jira/browse/HBASE-17953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15981179#comment-15981179 ] 

Ted Yu commented on HBASE-17953:
--------------------------------

For #1, there could be many versions for a cell. Reading all versions would incur additional load on the server.

What's your use case ?

> VerifyReplication should read all versions other than the latest version by default.
> ------------------------------------------------------------------------------------
>
>                 Key: HBASE-17953
>                 URL: https://issues.apache.org/jira/browse/HBASE-17953
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Zheng Hu
>            Assignee: Zheng Hu
>
> Two  problems for VerifyReplication.java: 
> 1.  With the default versions ( DO NOT set --versions option) ,  we will  read the latest version other than all version,  because Scan.maxVersions is 1.   Actuallly, I think we should compare all version by default.
> 2.   In logFailRowAndIncreaseCounter() method ,  we should set  familly/TimeRange/maxVersions attrs for a Get. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)