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

Jean-Marc Spaggiari updated HBASE-1212:
---------------------------------------

    Attachment: HBASE-1212-v2.patch

Oh, sorry about that! Did not figured I missed that.

Debian come with VSN < 1.7 so this command line was not working for me. I 
installed 1.7, run it and got the patch for all the modifications I made. So 
attached is the extract for HBASE-1212.  Can I mark HBASE-7287 as resolved by 
this one?
                
> merge tool expects regions all have different sequence ids
> ----------------------------------------------------------
>
>                 Key: HBASE-1212
>                 URL: https://issues.apache.org/jira/browse/HBASE-1212
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: Jean-Marc Spaggiari
>         Attachments: failure.log, HBASE-1212.patch, HBASE-1212-v2.patch
>
>
> Currently merging two regions, the merge tool will compare their sequence 
> ids.  If same, it will decrement one.  It needs to do this because on region 
> open, files are keyed by their sequenceid; if two the same, one will erase 
> the other.
> Well, with the move to the aggregating hfile format, the sequenceid is 
> written when the file is created and its no longer written into an aside file 
> but as metadata on to the end of the file.  Changing the sequenceid is no 
> longer an option.
> This issue is about figuring a solution for the rare case where two store 
> files have same sequence id AND we want to merge the two regions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to