HBASE-3733 MemStoreFlusher.flushOneForGlobalPressure() shouldn't
be using TreeSet for HRegion (Ted Yu via J-D) git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1088894 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
06a21879a4
commit
7702e191e3
|
@ -61,6 +61,8 @@ Release 0.91.0 - Unreleased
|
|||
HBASE-3238 HBase needs to have the CREATE permission on the parent of its
|
||||
ZooKeeper parent znode (Alex Newman via Stack)
|
||||
HBASE-3728 NPE in HTablePool.closeTablePool (Ted Yu via Stack)
|
||||
HBASE-3733 MemStoreFlusher.flushOneForGlobalPressure() shouldn't
|
||||
be using TreeSet for HRegion (Ted Yu via J-D)
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)
|
||||
|
|
|
@ -23,10 +23,10 @@ import java.io.IOException;
|
|||
import java.lang.management.ManagementFactory;
|
||||
import java.util.ConcurrentModificationException;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.SortedMap;
|
||||
import java.util.TreeSet;
|
||||
import java.util.concurrent.BlockingQueue;
|
||||
import java.util.concurrent.DelayQueue;
|
||||
import java.util.concurrent.Delayed;
|
||||
|
@ -151,7 +151,7 @@ class MemStoreFlusher extends Thread implements FlushRequester {
|
|||
SortedMap<Long, HRegion> regionsBySize =
|
||||
server.getCopyOfOnlineRegionsSortedBySize();
|
||||
|
||||
Set<HRegion> excludedRegions = new TreeSet<HRegion>();
|
||||
Set<HRegion> excludedRegions = new HashSet<HRegion>();
|
||||
|
||||
boolean flushedOne = false;
|
||||
while (!flushedOne) {
|
||||
|
|
Loading…
Reference in New Issue