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

This commit is contained in:
tedyu 2016-12-13 12:45:09 -08:00
parent 2333596279
commit de98f68408
1 changed files with 5 additions and 1 deletions

View File

@ -814,7 +814,11 @@ class MemStoreFlusher implements FlushRequester {
if (obj == null || getClass() != obj.getClass()) { if (obj == null || getClass() != obj.getClass()) {
return false; return false;
} }
Delayed other = (Delayed) obj; FlushRegionEntry other = (FlushRegionEntry) obj;
if (!this.region.getRegionInfo().getRegionNameAsString().equals(
other.region.getRegionInfo().getRegionNameAsString())) {
return false;
}
return compareTo(other) == 0; return compareTo(other) == 0;
} }
} }