Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0.0-alpha-1, 2.3.0, 2.4.0, 2.2.5
-
None
Description
The assignMetaReplicas method works kinda like this:
void assignMetaReplicas(){ if (numReplicas <= 1) return; //create if needed then assign meta replicas unassignExcessMetaReplica(numReplicas); }
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.
Attachments
Issue Links
- Is contained by
-
HBASE-24554 Improve/stable read replica
- Open
- links to