Jean-Daniel Cryans created HBASE-7380:
-----------------------------------------

             Summary: [replication] When transferring queues, check if the peer 
still exists before copying the znodes
                 Key: HBASE-7380
                 URL: https://issues.apache.org/jira/browse/HBASE-7380
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.94.3
            Reporter: Jean-Daniel Cryans
             Fix For: 0.96.0


Right now it's a pain if you remove a peer and still have rogue queues because 
they get moved on and on and on. NodeFailoverWorker needs to run the check:

bq. if (!zkHelper.getPeerClusters().containsKey(src.getPeerClusterId())) {

before this:

bq. SortedMap<String, SortedSet<String>> newQueues = 
zkHelper.copyQueuesFromRS(rsZnode);

And test.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to