Storing data in accordance with encoded data slice revision levels in a dispersed storage network
First Claim
1. A method comprises:
- sending, by a computing device of a dispersed storage network (DSN), a set of write request messages to a set of storage units of the DSN regarding a plurality of sets of encoded data slices, wherein a first write request of the set of write requests includes a first group of slice payloads for first encoded data slices of each set of the plurality of sets of encoded data slices and a corresponding revision level of each of the first encoded data slices, and wherein a first storage unit of the set of storage units temporarily stores the first encoded data slices;
receiving, by the computing device from the first storage unit, a first write response message that includes a group of status messages, wherein the group of status messages are generated by the first storage unit based on determining whether the corresponding revision level of each of the first encoded data slices is a next revision level in accordance with a current revision level maintained by the first storage unit, and wherein a status message of the group of status messages includes one or more of;
an operation succeeded message, a transaction conflict due to another transaction locking access to an encoded data slice of the first encoded data slices stored by the first storage unit, an address error, the revision level error, and operation is not authorized for the encoded data slice of the first encoded data slices;
processing, by the computing device, the first write response message by;
interpreting the group of status messages to determine whether an encoded data slice of the first encoded data slices has a revision level error;
when the encoded data slice of the first encoded data slices has a revision level error, flagging the encoded data slices for a rollback message; and
flagging each encoded data slice of the first encoded data slices not having the revision level error for a write commit message.
6 Assignments
0 Petitions
Accused Products
Abstract
A method includes sending, by a computing device of a dispersed storage network (DSN), a set of write request messages to a set of storage units of the DSN regarding a plurality of sets of encoded data slices. The method continues by receiving, from a first storage unit, a first write response message including a group of status messages, which indicate whether a corresponding revision level of each of the first encoded data slices is a next revision level in accordance with a current revision level. The method continues by interpreting the group of status messages to determine whether an encoded data slice of first encoded data slices has a revision level error. When the error, the method continues by flagging the encoded data slices for a rollback message and when no error, the method continues by flagging each encoded data slice for a write commit message.
-
Citations
8 Claims
-
1. A method comprises:
-
sending, by a computing device of a dispersed storage network (DSN), a set of write request messages to a set of storage units of the DSN regarding a plurality of sets of encoded data slices, wherein a first write request of the set of write requests includes a first group of slice payloads for first encoded data slices of each set of the plurality of sets of encoded data slices and a corresponding revision level of each of the first encoded data slices, and wherein a first storage unit of the set of storage units temporarily stores the first encoded data slices; receiving, by the computing device from the first storage unit, a first write response message that includes a group of status messages, wherein the group of status messages are generated by the first storage unit based on determining whether the corresponding revision level of each of the first encoded data slices is a next revision level in accordance with a current revision level maintained by the first storage unit, and wherein a status message of the group of status messages includes one or more of;
an operation succeeded message, a transaction conflict due to another transaction locking access to an encoded data slice of the first encoded data slices stored by the first storage unit, an address error, the revision level error, and operation is not authorized for the encoded data slice of the first encoded data slices;processing, by the computing device, the first write response message by; interpreting the group of status messages to determine whether an encoded data slice of the first encoded data slices has a revision level error; when the encoded data slice of the first encoded data slices has a revision level error, flagging the encoded data slices for a rollback message; and flagging each encoded data slice of the first encoded data slices not having the revision level error for a write commit message. - View Dependent Claims (2, 3, 4)
-
-
5. A computing device of a dispersed storage network (DSN) comprises:
-
memory; an interface; and a processing module operably coupled to the memory and the interface, wherein the processing module is operable to; send, via the interface, a set of write request messages to a set of storage units of the DSN regarding a plurality of sets of encoded data slices, wherein a first write request of the set of write requests includes a first group of slice payloads for first encoded data slices of each set of the plurality of sets of encoded data slices and a corresponding revision level of each of the first encoded data slices, and wherein a first storage unit of the set of storage units temporarily stores the first encoded data slices; receive, from the first storage unit via the interface, a first write response message that includes a group of status messages, wherein the group of status messages are generated by the first storage unit based on determining whether the corresponding revision level of each of the first encoded data slices is a next revision level in accordance with a current revision level maintained by the first storage unit, and wherein a status message of the group of status messages includes one or more of;
an operation succeeded message, a transaction conflict due to another transaction locking access to an encoded data slice of the first encoded data slices stored by the first storage unit, an address error, the revision level error, and operation is not authorized for the encoded data slice of the first encoded data slices;process the first write response message by; interpreting the group of status messages to determine whether an encoded data slice of the first encoded data slices has a revision level error; when the encoded data slice of the first encoded data slices has a revision level error, flagging the encoded data slices for a rollback message; and flagging each encoded data slice of the first encoded data slices not having the revision level error for a write commit message. - View Dependent Claims (6, 7, 8)
-
Specification