Legal claims defining the scope of protection, as filed with the USPTO.
1. A method, comprising: generating, by a processor of a second storage node, a metadata data structure before starting a replay of entries of a log stored in a non-volatile memory of the second storage node for a failover operation, initiated in response to a failure at a first storage node, the second storage node operating as a partner node of the first storage node to mirror at the non-volatile memory one or more write requests and data associated with the one or more write requests received by the first storage node, prior to the failure, wherein the metadata data structure stores a metadata attribute of each data container associated with each log entry; persistently storing by the processor, prior to the replay, the metadata attribute from the metadata data structure; utilizing, by the processor, the persistently stored metadata attribute to respond to a read request received during the replay by the second storage node; extracting, by the processor, a write request metadata attribute from a write request received by the second storage node during the replay; and utilizing, by the processor, the extracted metadata attribute for executing the write request.
2. The method of claim 1 , further comprising: skipping, by the processor, an update to the persistently stored metadata attribute during the reply.
3. The method of claim 1 , wherein the metadata attribute is a modification time of a data container identified by a log entry.
4. The method of claim 1 , further comprising: processing, by the processor, the read request when the read request does not have a corresponding entry in the log.
5. The method of claim 1 , further comprising: processing, by the processor, the read request, when the read request has a corresponding entry in the log and data associated with the read request is accessible from the non-volatile memory.
6. The method of claim 1 , further comprising: processing, by the processor, the write request, when the write request is the same write request received by the first storage node, prior to the failure.
7. The method of claim 1 , wherein the metadata attribute is a data container size of data containers associated with the entries of the log.
8. A non-transitory machine readable medium having stored thereon instructions comprising machine executable code which when executed by a machine, causes the machine to: generate a metadata data structure before starting a replay of entries of a log stored in a non-volatile memory of a second storage node for a failover operation, initiated in response to a failure at a first storage node, the second storage node operating as a partner node of the first storage node to mirror at the non-volatile memory, one or more write requests and data associated with the one or more write requests received by the first storage node, prior to the failure, wherein the metadata data structure stores a metadata attribute of each data container associated with each log entry; persistently store, prior to the replay, the metadata attribute from the metadata data structure; utilize the persistently stored metadata attribute to respond to a read request received during the replay by the second storage node; and utilize a write request metadata attribute for executing a write request received during the replay by the second storage node.
9. The non-transitory machine readable medium of claim 8 , wherein the machine executable code further causes the machine to: skip an update to the persistently stored metadata attribute during the replay.
10. The non-transitory machine readable medium of claim 8 , wherein the metadata attribute is a modification time of a data container identified by a log entry.
11. The non-transitory machine readable medium of claim 8 , wherein the machine executable code further causes the machine to: process the read request, when the read request does not have a corresponding entry in the log.
12. The non-transitory machine readable medium of claim 8 , wherein the machine executable code further causes the machine to: process the read request, when the read request has a corresponding entry in the log and data associated with the read request is accessible from the non-volatile memory.
13. The non-transitory machine readable medium of claim 8 , wherein the machine executable code further causes the machine to: process the write request, when the write request is the same write request received by the first storage node, prior to the failure.
14. The non-transitory machine readable medium of claim 8 , wherein the metadata attribute is a data container size of data containers associated with the entries of the log.
15. A system, comprising: a memory containing machine readable medium comprising machine executable code having stored thereon instructions; and a processor coupled to the memory, the processor configured to execute the machine executable code to: generate a metadata data structure before starting a replay of entries of a log stored in a non-volatile memory of a second storage node for a failover operation, initiated in response to a failure at a first storage node, the second storage node operating as a partner node of the first storage node to mirror at the non-volatile memory, one or more write requests and data associated with the one or more write requests received by the first storage node prior to the failure, wherein the metadata data structure stores a metadata attribute of each data container associated with each log entry; persistently store, prior to the replay, the metadata attribute from the metadata data structure; utilize the persistently stored metadata attribute to respond to a read request received during the replay by the second storage node; and utilize a write request metadata attribute for executing a write request received during the replay by the second storage node.
16. The system of claim 15 , wherein the processor further causes the machine executable code to: skip an update to the persistently stored metadata attribute, during log replay.
17. The system of claim 15 , wherein the metadata attribute is a modification time of a data container identified by a log entry.
18. The system of claim 15 , wherein the processor further causes the machine executable code to: process the read request, when the read request does not have a corresponding entry in the log.
19. The system of claim 15 , wherein the processor further causes the machine executable code to: process the read request, when the read request has a corresponding entry in the log and data associated with the read request is accessible from the non-volatile memory.
20. The system of claim 15 , wherein the processor further causes the machine executable code to: process the write request, when the write request is the same write request received by the first storage node prior to the failure.
Unknown
January 4, 2022
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.