hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Created: (HBASE-712) midKey found compacting is the first, not necessarily the optimal
Date Thu, 26 Jun 2008 03:40:45 GMT
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.


Mime
View raw message