Method, apparatus and device for deleting distributed system file, and storage medium
AssigneeInspur Electronic Information Industry Co., Ltd.
InventorsWei Li, Xiangrui Meng
Life of this patent
Estimating the term…
Loading patent…
AssigneeInspur Electronic Information Industry Co., Ltd.
InventorsWei Li, Xiangrui Meng
Estimating the term…
A method, apparatus and device for deleting a distributed system file, and a storage medium, comprising: querying whether an incomplete file deletion operation exists under a sub-tree root corresponding to a certain MDS (S102); if there is an incomplete file deletion operation, continuing to delete data under the sub-tree root corresponding to the MDS, and determining whether the sub-tree root is a copy (S103); and if the sub-tree root is a copy, deleting the sub-tree root copy in a memory of the MDS (S104). By means of the steps, the number of copies of the sub-tree root in the distributed file system can be reduced, thereby reducing the number of interaction times of master copy locking between different MDSs, improving the file deletion efficiency, and improving user friendliness and differentiated competitiveness of a product.
A method for deleting a file in a distributed system, characterized by comprising:
A device for deleting a file in a distributed system, characterized by comprising a processor and a memory, wherein the memory has a computer program stored therein, and the computer program, when executed by the processor, causes the processor to perform the following steps:
A computer readable storage medium, having a computer program stored therein, characterized in that the computer program, when executed by a processor, causes the processor to perform the following steps:
Dependencies are inferred from the claim text.