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

This commit is contained in:
tedyu 2016-12-13 12:46:42 -08:00
parent 1f9214bee7
commit e029c554bb
1 changed files with 5 additions and 1 deletions

View File

@ -795,7 +795,11 @@ class MemStoreFlusher implements FlushRequester {
if (obj == null || getClass() != obj.getClass()) {
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;
}
}