Intelligent upgrade process in a distributed system
Abstract
A method for updates in a storage system is provided. The method includes writing identifiers, associated with data to be stored, to storage units of the storage system and writing trim records indicative of identifiers that are allowed to not exist in the storage system to the storage units. The method includes determining whether stored data corresponding to records of identifiers is valid based on the records of the identifiers and the trim records.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 35 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A method, comprising: determining whether a missing identifier from a first set of identifiers is consistent with read dependencies of the first set of identifiers; in response to determining that the missing identifier is consistent with the read dependencies of the first set of identifiers, writing, by one or more processors, a trim record that indicates the missing identifier is allowed to be absent from the first set of identifiers; and distributing a record to a plurality of storage nodes as a second set of identifiers comprising the trim record, the second set of identifiers indicating that stored data associated with the first set of identifiers is valid.
- Claim 2Depends on #1
The method of claim 1, wherein the first set of identifiers is associated with operations being executed by the plurality of storage nodes.
- Claim 3Depends on #1
The method of claim 1, further comprising: distributing the first set of identifiers to the plurality of storage nodes, wherein determining whether the missing identifier is consistent with the read dependencies is in response to distributing the first set of identifiers to the plurality of storage nodes.
- Claim 4Depends on #1
The method of claim 1, wherein the first set of identifiers and the trim record comprise a sequence.
- Claim 5Depends on #1
The method of claim 1, further comprising: determining a latest identifier from the first set of identifiers that has been acknowledged.
- Claim 6Depends on #5
The method of claim 5, further comprising: inserting at least one forward record that indicates an identifier later than the latest identifier of the first set of identifiers is allowed to be absent from the plurality of storage nodes.
- Claim 7Depends on #1
The method of claim 1, further comprising: performing updates to flash memory of the plurality of storage nodes, based on updates recorded with the first set of identifiers in NVRAM (nonvolatile random-access memory) of the plurality of storage nodes.
- Claim 8Independent Claim
An apparatus, comprising: a memory; and one or more processors, operatively coupled to the memory, configured to: determine whether a missing identifier from a first set of identifiers is consistent with read dependencies of the first set of identifiers; in response to determining that the missing identifier is consistent with the read dependencies of the first set of identifiers, write a trim record that indicates the missing identifier is allowed to be absent from the first set of identifiers; and distribute a record to a plurality of storage nodes as a second set of identifiers comprising the trim record, the second set of identifiers indicating that stored data associated with the first set of identifiers is valid.
- Claim 9Depends on #8
The apparatus of claim 8, wherein the first set of identifiers is associated with operations being executed by the plurality of storage nodes.
- Claim 10Depends on #8
The apparatus of claim 8, wherein the one or more processors are further configured to: distribute the first set of identifiers to the plurality of storage nodes, wherein determining whether the missing identifier is consistent with the read dependencies is in response to distributing the first set of identifiers to the plurality of storage nodes.
- Claim 11Depends on #8
The apparatus of claim 8, wherein the first set of identifiers and the trim record comprise a sequence.
- Claim 12Depends on #8
The apparatus of claim 8, wherein the one or more processors are further configured to: determine a latest identifier from the first set of identifiers that has been acknowledged.
- Claim 13Depends on #12
The apparatus of claim 12, wherein the one or more processors are further configured to: insert at least one forward record that indicates an identifier later than the latest identifier of the first set of identifiers is allowed to be absent from the plurality of storage nodes.
- Claim 14Depends on #8
The apparatus of claim 8, wherein the one or more processors are further configured to: perform updates to flash memory of the plurality of storage nodes, based on updates recorded with the first set of identifiers in NVRAM (nonvolatile random-access memory) of the plurality of storage nodes.
- Claim 15Independent Claim
A non-transitory computer readable storage medium storing instructions which, when executed, cause one or more processors to: determine whether a missing identifier from a first set of identifiers is consistent with read dependencies of the first set of identifiers; in response to determining that the missing identifier is consistent with the read dependencies of the first set of identifiers, write a trim record that indicates the missing identifier is allowed to be absent from the first set of identifiers; and distribute a record to a plurality of storage nodes as a second set of identifiers comprising the trim record, the second set of identifiers indicating that stored data associated with the first set of identifiers is valid.
- Claim 16Depends on #15
The non-transitory computer readable storage medium of claim 15, wherein the first set of identifiers is associated with operations being executed by the plurality of storage nodes.
- Claim 17Depends on #15
The non-transitory computer readable storage medium of claim 15, wherein the one or more processors are further configured to: distribute the first set of identifiers to the plurality of storage nodes, wherein determining whether the missing identifier is consistent with the read dependencies is in response to distributing the first set of identifiers to the plurality of storage nodes.
- Claim 18Depends on #15
The non-transitory computer readable storage medium of claim 15, wherein the first set of identifiers and the trim record comprise a sequence.
- Claim 19Depends on #15
The non-transitory computer readable storage medium of claim 15, wherein the one or more processors are further configured to: determine a latest identifier from the first set of identifiers that has been acknowledged.
- Claim 20Depends on #19
The non-transitory computer readable storage medium of claim 19, wherein the one or more processors are further configured to: insert at least one forward record that indicates an identifier later than the latest identifier of the first set of identifiers is allowed to be absent from the plurality of storage nodes.
Technical Overview & Description
CROSS REFERENCE TO RELATED APPLICATIONS This application is a continuation application for patent entitled to a filing date and claiming the benefit of earlier-filed U.S. patent application Ser. No. 16/925,874, filed Jul. 10, 2020, which is a continuation application of U.S. patent application Ser. No. 15/808,436, filed Nov. 9, 2017, issued as U.S. Pat. No. 10,712,942 on Jul. 14, 2020, which is a continuation application of U.S. patent application Ser. No. 14/723,367, filed May 27, 2015, issued as U.S. Pat. No. 9,817,576 on Nov. 14, 2017, all of which are hereby incorporated herein by reference in their entirety. BACKGROUND Solid-state memory, such as flash, is currently in use in solid-state drives (SSD) to augment or replace conventional hard disk drives (HDD), writable CD (compact disk) or writable DVD (digital versatile disk) drives, collectively known as spinning media, and tape drives, for storage of large amounts of data. Flash and other solid-state memories have characteristics that differ from spinning media. Yet, many solid-state drives are designed to conform to hard disk drive standards for compatibility reasons, which makes it difficult to provide enhanced features or take advantage of unique aspects of flash and other solid-state memory. It is within this context that the embodiments arise. SUMMARY In some embodiments, a method for updates in a storage system is provided. The method includes writing identifiers relating to updates to storage units of the storage system and writing trim records indicative of identifiers that are allowed to not exist in the storage system, to the storage units. The identifiers are associated with data to be stored in the storage system. The method includes determining whether the stored data corresponding to records of sequence numbers is valid based on the records of the sequence numbers and the trim records. In some embodiments the identifiers are sequence numbers. In some embodiments, a method for updates in a storage
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (35)
Non-Patent Literature (1)
- Extended European Search Report for European Application No. 16800409.1, mailed Nov. 14, 2018, 10 Pages.