Quick reconstruction mechanism for metadata cache on basis of metadata log
暂无分享,去创建一个
The invention discloses a quick reconstruction mechanism for a metadata cache on the basis of metadata log. The quick reconstruction mechanism comprises three major modules including a metadata log accessor, a metadata memory and the metadata cache. The quick reconstruction mechanism for the metadata cache has the advantages that the metadata operation log which is previously recorded can be utilized in metadata server failure recovery procedures, so that the pre-failure metadata cache can be quickly loaded into an internal memory, the metadata cache can be quickly reconstructed, and pre-failure-recovery cache scenes can be quickly recovered; data in the cache can be directly utilized to continue to process metadata requests after metadata server failure is recovered, accordingly, the metadata processing efficiency can be improved, and the integral work efficiency of a system can be improved.