Method for using write intents in a distributed storage network
First Claim
Patent Images
1. A method comprises:
- receiving, by a computing device, a write request intended for one or more storage units of a dispersed storage network (DSN), wherein the write request is for data segment that has been encoded to produce a set of encoded data slices;
storing the write request in memory;
creating a write intent associated with the write request, wherein the write intent includes information about storage of the set of encoded data slices;
determining whether metadata associated with the write request can be successfully updated;
when the metadata associated with the write request can be successfully updated, deleting the write intent associated with the write request;
when the metadata associated with the write request cannot be successfully updated, maintaining the write request in memory until a cleanup agent can execute the write request; and
executing the write request using the write intent associated with the write request.
1 Assignment
0 Petitions
Accused Products
Abstract
A method beings by a computing device receiving a write request for a data segment that has been encoded to produce a set of encoded data slices. The method continues with the write request being stored in memory and a write intent associated with the write request being created and stored as an object in memory. The computing device then determines whether metadata associated with the data segment can be updated, and when the metadata cannot be updated maintaining the write request in memory until a cleanup agent can execute the write intent and successfully update the metadata.
92 Citations
20 Claims
-
1. A method comprises:
-
receiving, by a computing device, a write request intended for one or more storage units of a dispersed storage network (DSN), wherein the write request is for data segment that has been encoded to produce a set of encoded data slices; storing the write request in memory; creating a write intent associated with the write request, wherein the write intent includes information about storage of the set of encoded data slices; determining whether metadata associated with the write request can be successfully updated; when the metadata associated with the write request can be successfully updated, deleting the write intent associated with the write request; when the metadata associated with the write request cannot be successfully updated, maintaining the write request in memory until a cleanup agent can execute the write request; and executing the write request using the write intent associated with the write request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computing device comprises:
-
an interface for interfacing with a network; memory; and a processing module operably coupled to the interface and to the memory, wherein the processing module is operable to; receive, by a computing device, a write request intended for one or more storage units of a dispersed storage network (DSN), wherein the write request is for data segment that has been encoded to produce a set of encoded data slices; store the write request in memory; create a write intent associated with the write request, wherein the write intent includes information about storage of the set of encoded data slices; determine whether metadata associated with the write request can be successfully updated; when the metadata associated with the write request can be successfully updated, deleting the write intent associated with the write request; when the metadata associated with the write request cannot be successfully updated, maintain the write request in memory until a cleanup agent can execute the write request; and execute the write request using the write intent associated with the write request. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A method performed in a distributed storage (DS) unit of a distributed storage network (DSN), the method comprises:
-
receiving a write request from the dispersed storage network (DSN), wherein the write request is for data segment that has been encoded to produce a set of encoded data slices; storing the write request in memory; creating a write intent associated with the write request, wherein the write intent includes information about storage of the set of encoded data slices; determining whether metadata associated with the write request can be successfully updated; when the metadata associated with the write request can be successfully updated, deleting the write intent associated with the write request; when the metadata associated with the write request cannot be successfully updated, maintaining the write request in memory until a cleanup agent can execute the write request; and executing the write request using the write intent associated with the write request. - View Dependent Claims (20)
-
Specification