HBASE-2989 [replication] RSM won't cleanup after locking if 0 peers
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1001014 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4163b90a87
commit
da611388b4
@ -538,6 +538,7 @@ Release 0.21.0 - Unreleased
|
||||
HBASE-3003 ClassSize constants dont use 'final'
|
||||
HBASE-3002 Fix zookeepers.sh to work properly with strange JVM options
|
||||
HBASE-3028 No basescanner means no GC'ing of split, offlined parent regions
|
||||
HBASE-2989 [replication] RSM won't cleanup after locking if 0 peers
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-1760 Cleanup TODOs in HTable
|
||||
|
@ -285,10 +285,10 @@ public class ReplicationSourceManager {
|
||||
LOG.info("Moving " + rsZnode + "'s hlogs to my queue");
|
||||
SortedMap<String, SortedSet<String>> newQueues =
|
||||
this.zkHelper.copyQueuesFromRS(rsZnode);
|
||||
this.zkHelper.deleteRsQueues(rsZnode);
|
||||
if (newQueues == null || newQueues.size() == 0) {
|
||||
return;
|
||||
}
|
||||
this.zkHelper.deleteRsQueues(rsZnode);
|
||||
|
||||
for (Map.Entry<String, SortedSet<String>> entry : newQueues.entrySet()) {
|
||||
String peerId = entry.getKey();
|
||||
|
Loading…
x
Reference in New Issue
Block a user