leyangyueshan commented on a change in pull request #2848: URL: https://github.com/apache/hbase/pull/2848#discussion_r553082093
########## File path: hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/SequenceIdAccounting.java ########## @@ -250,7 +250,12 @@ void updateStore(byte[] encodedRegionName, byte[] familyName, Long sequenceId, */ private static long getLowestSequenceId(Map<?, Long> sequenceids) { long lowest = HConstants.NO_SEQNUM; - for (Long sid: sequenceids.values()) { + for (Map.Entry<? , Long> entry : sequenceids.entrySet()){ + if (entry.getKey() instanceof ImmutableByteArray && entry.getKey().toString().equals("METAFAMILY")){ Review comment: entry.getKey() instanceof ImmutableByteArray is for future, but it's no need at now , I has deleted it ! ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org