US 11,055,360 B2
Data write-in method and apparatus in a distributed file system
Chengyu Dong, Hangzhou (CN); Jiaji Zhu, Hangzhou (CN); Haiyong Zhang, Hangzhou (CN); Feng Cao, Hangzhou (CN); Yong Wang, Hangzhou (CN); Wenhui Yao, Hangzhou (CN); Junping Wu, Hangzhou (CN); Yang Wu, Hangzhou (CN); Yuanyuan Dong, Hangzhou (CN); Dongzheng Wu, Hangzhou (CN); and Jing Lu, Hangzhou (CN)
Assigned to Alibaba Group Holding Limited, Grand Cayman (KY)
Filed by ALIBABA GROUP HOLDING LIMITED, Grand Cayman (KY)
Filed on May 3, 2018, as Appl. No. 15/970,820.
Application 15/970,820 is a continuation of application No. PCT/CN2016/103139, filed on Oct. 25, 2016.
Claims priority of application No. 201510740419.5 (CN), filed on Nov. 3, 2015.
Prior Publication US 2018/0253506 A1, Sep. 6, 2018
Int. Cl. G06F 16/907 (2019.01); G06F 16/182 (2019.01); G06F 16/00 (2019.01); G06F 3/06 (2006.01); G06F 9/50 (2006.01); G06F 17/18 (2006.01)
CPC G06F 16/907 (2019.01) [G06F 3/0611 (2013.01); G06F 9/5016 (2013.01); G06F 16/00 (2019.01); G06F 16/182 (2019.01); G06F 16/1844 (2019.01); G06F 17/18 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A data write-in method, comprising:
selecting at least one target replica server from a plurality of replica servers managed by a metadata server according to remaining capacity of the plurality of replica servers;
selecting a write-in disk among a plurality of disks in the selected target replica server according to remaining capacity and load of each of the plurality of disks managed by the target replica server, wherein selecting the write-in disk among the plurality of disks in the target replica server further comprises:
determining a probability of a disk among the plurality of disks being selected according to the remaining capacity and the load of each of the plurality of disks managed by the target replica server; and
determining the write-in disk according to the probabilities of the plurality of disks; and
storing write-in data into the write-in disk through the target replica server.