发明名称 |
Recovery consumer framework |
摘要 |
A recovery consumer framework provides for execution of recovery actions by one or more recovery consumers to enable efficient recovery of information (e.g., data and metadata) in a storage system after a failure event (e.g., a power failure). The recovery consumer framework permits concurrent execution of recovery actions so as to reduce recovery time (i.e., duration) for the storage system. The recovery consumer framework may coordinate (e.g., notify) the recovery consumers to serialize execution of the recovery actions by those recovery consumers having a dependency while allowing concurrent execution between recovery consumers having no dependency relationship. Each recovery consumer may register with the framework to associate a dependency on one or more of the other recovery consumers. The dependency association may be represented as a directed graph where each vertex of the graph represents a recovery consumer and each directed edge of the graph represents a dependency. The framework may traverse (i.e., walk) the framework graph and for each vertex encountered, notify the associated recovery consumer to initiate its respective recovery actions. |
申请公布号 |
US9372767(B2) |
申请公布日期 |
2016.06.21 |
申请号 |
US201414298344 |
申请日期 |
2014.06.06 |
申请人 |
NetApp, Inc. |
发明人 |
Holtz Tabriz;Kapoor Neha;Sarab Farshid Eslami;Ardakani Afshin Salek;Olson Tara Faith;Pathan Asif Imtiyaz;Purohit Prahlad |
分类号 |
G06F11/00;G06F11/20;G06F11/16 |
主分类号 |
G06F11/00 |
代理机构 |
LeClairRyan, a Professional Corporation |
代理人 |
LeClairRyan, a Professional Corporation |
主权项 |
1. A method for processing one or more logs by a plurality of recovery consumers comprising:
registering a callback by a first recovery consumer of the plurality of recovery consumers; registering a dependency on the first recovery consumer by a second recovery consumer of the plurality of recovery consumers; determining, by the callback, whether to tag a first log of the one or more logs; and in response to determining to tag the first log, executing the second recovery consumer such that the second recovery consumer waits for the first recovery consumer to complete processing of the first log. |
地址 |
Sunnyvale CA US |