Multi-phase dispersed storage write process
First Claim
1. A storage unit (SU) comprising:
- an interface configured to interface and communicate with a dispersed or distributed storage network (DSN);
memory that stores operational instructions; and
processing circuitry operably coupled to the interface and to the memory, wherein the processing circuitry is configured to execute the operational instructions to;
receive a lock request from a distributed storage (DS) processing unit associated with the DSN, wherein the lock request is for an encoded data slice (EDS) of a set of encoded data slices (EDSs) and wherein the EDS is to be updated;
determine whether a lock request has previously been granted for the EDS;
in response to a determination that a lock request has not been previously granted for a slice name associated with the EDS, transmit a favorable lock request response to the DS processing unit, wherein a favorable lock request response is a lock request response indicating that a lock request has not been previously granted;
lock the slice name associated with the EDS, andreceive a persist message from the DS processing unit, wherein the persist message includes information sufficient to determine that the DS processing unit has received a write threshold number of favorable lock request responses from storage units in the DSN for the set of EDSs.
1 Assignment
0 Petitions
Accused Products
Abstract
A method begins by a storage unit of a dispersed storage network (DSN) receiving a lock request from a distributed storage (DS) processing unit associated with the DSN for an encoded data slice (EDS) of a set of encoded data slices (EDSs). The method continues with the storage unit determining whether a lock request has previously been granted for the EDS and when a lock request has not been previously granted for a slice name associated with the EDS, transmitting, by the storage unit, a favorable lock request response to the DS processing unit and locking the slice name associated with the EDS. The method continues with storage unit receiving a persist message indicating that the DS processing unit has received a write threshold number of favorable lock request responses for the set of EDSs.
95 Citations
20 Claims
-
1. A storage unit (SU) comprising:
-
an interface configured to interface and communicate with a dispersed or distributed storage network (DSN); memory that stores operational instructions; and processing circuitry operably coupled to the interface and to the memory, wherein the processing circuitry is configured to execute the operational instructions to; receive a lock request from a distributed storage (DS) processing unit associated with the DSN, wherein the lock request is for an encoded data slice (EDS) of a set of encoded data slices (EDSs) and wherein the EDS is to be updated; determine whether a lock request has previously been granted for the EDS; in response to a determination that a lock request has not been previously granted for a slice name associated with the EDS, transmit a favorable lock request response to the DS processing unit, wherein a favorable lock request response is a lock request response indicating that a lock request has not been previously granted; lock the slice name associated with the EDS, and receive a persist message from the DS processing unit, wherein the persist message includes information sufficient to determine that the DS processing unit has received a write threshold number of favorable lock request responses from storage units in the DSN for the set of EDSs. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for execution by a storage unit of a dispersed storage network (DSN), the method comprises:
-
receiving, by the storage unit, a lock request from a distributed storage (DS) processing unit associated with the DSN, wherein the lock request is for an encoded data slice (EDS) of a set of encoded data slices (EDSs) and wherein the EDS is to be updated; determining, by the storage unit, whether a lock request has previously been granted for the EDS; in response to a determination that a lock request has not been previously granted for a slice name associated with the EDS, transmitting, by the storage unit, a favorable lock request response to the DS processing unit, wherein a favorable lock request response is a lock request response indicating that a lock request has not been previously granted; locking the slice name associated with the EDS; and receiving, by the storage unit, a persist message from the DS processing unit, wherein the persist message includes the EDS, wherein the persist information includes information sufficient to determine that the DS processing unit has received a write threshold number of favorable lock request responses from storage units in the DSN for the set of EDSs. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer readable memory comprises:
a memory element that stores operational instructions that, when executed by a computing device of a dispersed storage network (DSN), causes the computing device to; receive a lock request from a distributed storage (DS) processing unit associated with the DSN, wherein the lock request is for an encoded data slice (EDS) of a set of encoded data slices (EDSs) and wherein the EDS is to be updated; determine whether a lock request has previously been granted for the EDS; in response to a determination that a lock request has not been previously granted for a slice name associated with the EDS, transmit a favorable lock request response to the DS processing unit, wherein a favorable lock request response is a lock request response indicating that a lock request has not been previously granted; lock the slice name associated with the EDS, and receive a persist message from the DS processing unit, wherein the persist message includes the EDS, wherein the persist message includes information sufficient to determine that the DS processing unit has received a write threshold number of favorable lock request responses from storage units in the DSN for the set of EDSs. - View Dependent Claims (18, 19, 20)
Specification