HBASE-15632 Undo the checking of lastStoreFlushTimeMap.isEmpty() introduced in HBASE-13145 (Huaxiang Sun)
This commit is contained in:
parent
ff9c92e168
commit
0f23e61ec5
|
@ -1681,8 +1681,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