You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "cuijianwei (JIRA)" <ji...@apache.org> on 2013/12/13 05:03:06 UTC

[jira] [Updated] (HBASE-10153) improve VerifyReplication to compute BADROWS more accurately

     [ https://issues.apache.org/jira/browse/HBASE-10153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

cuijianwei updated HBASE-10153:
-------------------------------

    Attachment: HBASE-10153-0.94-v1.patch

This patch try to improve BADROWS computing including:
1. BADROWS is refined to ONLY_IN_SOURCE_TABLE_ROWS, ONLY_IN_PEER_TABLE_ROWS and CONTENT_DIFFERENT_ROWS. 
2. compute these counters in merge comparison between source and peer table.

> improve VerifyReplication to compute BADROWS more accurately
> ------------------------------------------------------------
>
>                 Key: HBASE-10153
>                 URL: https://issues.apache.org/jira/browse/HBASE-10153
>             Project: HBase
>          Issue Type: Improvement
>          Components: Replication
>    Affects Versions: 0.94.14
>            Reporter: cuijianwei
>         Attachments: HBASE-10153-0.94-v1.patch
>
>
> VerifyReplicaiton could compare the source table with its peer table and compute BADROWS. However, the current BADROWS computing method might not be accurate enough. For example, if source table contains rows as {r1, r2, r3, r4} and peer table contains rows as {r1, r3, r4}, the BADROWS counter will be 3 because 'r2' in source table will make all the later comparisons fail. Will it be better if the BADROWS is computed to 1 in this situation? Maybe, we can compute the BADROWS more accurately in merge comparison?



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)