hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-8650) HRegionServer#updateRecoveringRegionLastFlushedSequenceId(HRegion) makes inefficient use of keySet iterator instead of entrySet iterator
Date Wed, 29 May 2013 22:44:20 GMT
Ted Yu created HBASE-8650:
-----------------------------

             Summary: HRegionServer#updateRecoveringRegionLastFlushedSequenceId(HRegion) makes
inefficient use of keySet iterator instead of entrySet iterator
                 Key: HBASE-8650
                 URL: https://issues.apache.org/jira/browse/HBASE-8650
             Project: HBase
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


{code}
    for (byte[] columnFamily : maxSeqIdInStores.keySet()) {
      Long storeSeqIdForReplay = maxSeqIdInStores.get(columnFamily);
{code}
maxSeqIdInStores.entrySet() should have been used.

--
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

Mime
View raw message