[ 
https://issues.apache.org/jira/browse/HBASE-24720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17157619#comment-17157619
 ] 

Hudson commented on HBASE-24720:
--------------------------------

Results for branch branch-2.2
        [build #911 on 
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/911/]: 
(x) *{color:red}-1 overall{color}*
----
details (if available):

(x) {color:red}-1 general checks{color}
-- For more information [see general 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/911//General_Nightly_Build_Report/]




(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/911//JDK8_Nightly_Build_Report_(Hadoop2)/]


(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/911//JDK8_Nightly_Build_Report_(Hadoop3)/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test{color}


> Meta replicas not cleaned when disabled
> ---------------------------------------
>
>                 Key: HBASE-24720
>                 URL: https://issues.apache.org/jira/browse/HBASE-24720
>             Project: HBase
>          Issue Type: Bug
>          Components: read replicas
>    Affects Versions: 3.0.0-alpha-1, 2.3.0, 2.4.0, 2.2.5
>            Reporter: Szabolcs Bukros
>            Assignee: Szabolcs Bukros
>            Priority: Minor
>             Fix For: 3.0.0-alpha-1, 2.3.1, 2.4.0, 2.2.6
>
>
> The assignMetaReplicas method works kinda like this:
> {code:java}
> void assignMetaReplicas(){
> if (numReplicas <= 1) return;
> //create if needed then assign meta replicas
> unassignExcessMetaReplica(numReplicas);
> }
> {code}
> Now this unassignExcessMetaReplica method is the one that gets rid of the 
> replicas we no longer need. It closes them and deletes their zNode.  
> Unfortunately this only happens if we decreased the replica number. If we 
> disabled it, by setting the replica number to 1 assignMetaReplicas returns 
> instantly without cleaning up the no longer needed replicas resulting in 
> replicas lingering around.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to