×

Temporarily storing data in a dispersed storage network

  • US 9,774,678 B2
  • Filed: 01/13/2014
  • Issued: 09/26/2017
  • Est. Priority Date: 10/29/2009
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for execution by one or more processing modules of one or more computing devices of a dispersed storage network (DSN), the method comprises:

  • determining whether to store a data segment of data in a DSN memory in a conventional manner or a temporary manner;

    when the data segment is to be stored in the temporary manner;

    obtaining a transaction number in accordance with the conventional manner;

    generating a set of temporary write commands regarding the storage of the data segment in the DSN memory as a temporarily stored data segment, wherein a temporary write command of the set of temporary write commands includes the transaction number, an encoded portion of the data segment, and an implicit instruction that the encoded portion of the data segment is not to be stored or made accessible in accordance with the conventional manner; and

    transmitting the set of temporary write commands to a set of storage units of the DSN memory; and

    when the temporarily stored data segment is to be read from the DSN memory;

    generating a set of temporary read commands, wherein a temporary read command of the set of temporary read commands includes the transaction number, identity of the encoded portion, and an explicit instruction to read the encoded portion in violation of the conventional manner;

    when the data segment is to be stored in the conventional manner;

    obtaining the transaction number in accordance with the conventional manner;

    issuing a set of write commands regarding the storage of the data segment to the set of storage units;

    receiving responses to the set of write commands;

    when a threshold number of responses to the set of write commands have been received within a time period, issuing a set of write commit commands, wherein a write commit command of the set of write commit commands instructs a storage unit of the set of storage units to conditionally make available a corresponding one of encoded portions of the data segment;

    when the threshold number of responses to the set of write commands have not been received within the time period, issuing a set of rollback commands to the set of storage units to abort the storage of the data segment;

    when a threshold number of responses to the set of write commit commands have been received within a second time period, issuing a set of write finalize commands, wherein a write finalize command of the set of write finalize commands instructs the storage unit to permanently make available the corresponding one of the encoded portions of the data segment; and

    when the threshold number of responses to the set of write commit commands have not been received within the second time period, issuing a set of undo commands to the set of storage units to undo and abort the storage of the data segment;

    updating the data segment to produce an updated data segment; and

    when the updated data segment is to be stored in the temporary manner by overwriting the data segment;

    generating a set of temporary over-write commands regarding storage of the updated data segment in the DSN memory, wherein a temporary over-write command of the set of temporary over-write commands includes the transaction number, an encoded portion of the updated data segment, and an implicit instruction that the encoded portion of the updated data segment is not to be stored or made accessible in accordance with the conventional manner; and

    transmitting the set of temporary over-write commands to the set of storage units.

View all claims
  • 5 Assignments
Timeline View
Assignment View
    ×
    ×