Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha1
-
None
-
-
Reviewed
Description
In Takuya Fukudome's system tests, we find the following issue:
A striped block group B has redundant internal block replicas. 9 internal blocks are stored in 10 datanodes across 6 racks. Datanode d1 and d2 both store a replica for internal block b1. d1's rack contains multiple internal blocks while d2's rack only has b1. Then when choosing a duplicated replica to delete, the current implementation may wrongly choose d2 thus causes the total number of racks to be decreased to 5.