HDFS-16494.Removed reuse of AvailableSpaceVolumeChoosingPolicy#initLocks(). (#4048). Contributed by JiangHua Zhu.

This commit is contained in:
He Xiaoqiao 2022-03-16 20:43:38 +08:00
parent 1c0bc35305
commit a237526988
No known key found for this signature in database
GPG Key ID: A80CC124E9A0FA63

View File

@ -63,7 +63,6 @@ public class AvailableSpaceVolumeChoosingPolicy<V extends FsVolumeSpi>
public AvailableSpaceVolumeChoosingPolicy() {
this(new Random());
initLocks();
}
private void initLocks() {