Invention Grant
- Patent Title: Method and device for writing data and acquiring data in a distributed storage system
-
Application No.: US15916192Application Date: 2018-03-08
-
Publication No.: US10599337B2Publication Date: 2020-03-24
- Inventor: Ming Yang , Wenzhao Li , Zhongyu Zou
- Applicant: ALIBABA GROUP HOLDING LIMITED
- Applicant Address: KY Grand Cayman
- Assignee: ALIBABA GROUP HOLDING LIMITED
- Current Assignee: ALIBABA GROUP HOLDING LIMITED
- Current Assignee Address: KY Grand Cayman
- Agency: Finnegan, Henderson, Farabow, Garrett & Dunner LLP
- Priority: CN201510571183 20150909
- Main IPC: G06F3/06
- IPC: G06F3/06 ; G06F16/182

Abstract:
The present application provides methods and devices for writing data and acquiring data in a distributed storage system. According to an exemplary method, in a process of writing data, a data file is not overwritten but is instead updated by making a copy in a newly allocated storage block and an updated description file is persisted by using an atomic operation. This way, in a process of appending data, it can be ensured that a data file is not damaged, and the readability and consistency of data are maintained, facilitating the use by a user. Further, writing data according to some embodiments of the present application supports a write in which a user specifies a write position of to-be-written data, and also supports a write in which the user does not specify a write position of to-be-written data, thereby improving the flexibility of writing data.
Public/Granted literature
- US20180203606A1 METHOD AND DEVICE FOR WRITING DATA AND ACQUIRING DATA IN A DISTRIBUTED STORAGE SYSTEM Public/Granted day:2018-07-19
Information query