HBASE-15632 Undo the checking of lastStoreFlushTimeMap.isEmpty() introduced in HBASE-13145 (Huaxiang Sun)
This commit is contained in:
parent
e31361dcb8
commit
59bf00562c
|
@ -1659,8 +1659,7 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public long getEarliestFlushTimeForAllStores() {
|
public long getEarliestFlushTimeForAllStores() {
|
||||||
return lastStoreFlushTimeMap.isEmpty() ? Long.MAX_VALUE : Collections.min(lastStoreFlushTimeMap
|
return Collections.min(lastStoreFlushTimeMap.values());
|
||||||
.values());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue