HBASE-17302 The region flush request disappeared from flushQueue - addendum (Guangxu Cheng)

This commit is contained in:
tedyu 2017-04-23 07:37:34 -07:00
parent 9053ec6fe6
commit 435104af70
1 changed files with 2 additions and 2 deletions

View File

@ -816,8 +816,8 @@ class MemStoreFlusher implements FlushRequester {
return false; return false;
} }
FlushRegionEntry other = (FlushRegionEntry) obj; FlushRegionEntry other = (FlushRegionEntry) obj;
if (!this.region.getRegionInfo().getRegionNameAsString().equals( if (!Bytes.equals(this.region.getRegionInfo().getRegionName(),
other.region.getRegionInfo().getRegionNameAsString())) { other.region.getRegionInfo().getRegionName())) {
return false; return false;
} }
return compareTo(other) == 0; return compareTo(other) == 0;