midKey found compacting is the first, not necessarily the optimal
-----------------------------------------------------------------

                 Key: HBASE-712
                 URL: https://issues.apache.org/jira/browse/HBASE-712
             Project: Hadoop HBase
          Issue Type: Bug
            Reporter: stack
            Priority: Minor
             Fix For: 0.2.0


It does this in HRegion:

{code}
      for (HStore store: stores.values()) {
        final byte [] key = store.compact(force);                               
                                                   
        if (key != null && midKey == null) {                                    
                                                   
          midKey = key;                                                         
                                                   
        }
      }
{code}

If many families, then we can return a suboptimal midKey.

Marking minor but including in 0.2 because (I think) the fix is trivial.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to