Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Invalid
-
None
-
None
-
None
Description
void initializeReplicaMaps(ReplicaMap globalReplicaMap) throws IOException { for (FsVolumeImpl v : volumes) { v.getVolumeMap(globalReplicaMap); } }
This method has been called at the time of initialization even before the blockpools are added. So its useless to call this method.
Anyway replica map will be updated for each of the blockpool during addBlockPool(..) by calling FSVolumesList#getAllVolumesMap(..)