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
|
||||
public long getEarliestFlushTimeForAllStores() {
|
||||
return lastStoreFlushTimeMap.isEmpty() ? Long.MAX_VALUE : Collections.min(lastStoreFlushTimeMap
|
||||
.values());
|
||||
return Collections.min(lastStoreFlushTimeMap.values());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue