Snapshot processing method and system, equipment and storage medium
A processing method and snapshot technology, applied in the storage field, can solve problems such as business bandwidth congestion, difficulty, and implementation complexity, and achieve the effect of reducing bandwidth occupation, time-consuming, and crowding.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach
[0036] As we all know, the function of the snapshot is mainly to perform online data backup and recovery. When the storage device has an application failure or the file is damaged, it can quickly recover the data and restore the data to the state at a certain available point in time. Another function of the snapshot is Provide another data access channel for storage users. When the original data is processed by online applications, users can access snapshot data and use snapshots for testing and other work. All storage systems, regardless of high, medium and low end, as long as they are applied to online systems, then Snapshots become an indispensable feature.
[0037] The principle of the present invention is to use the data engine to keep the content unchanged after replaying the log. The storage system using the consistency algorithm does not need to strictly solidify the data content at each time point because of the log replay. For example, in a replication group A snapsh...
Embodiment 1
[0039] refer to figure 1 , the snapshot processing method of the present invention includes:
[0040] Use the names of all files in the data engine to construct a file name list, store the file name list in the metadata file under the snapshot directory, and record the log number at the current moment;
[0041] Based on the principle that the content of the data engine remains unchanged before and after the log is replayed by the data engine, the file deletion operation of the distributed storage system using the consensus algorithm is performed. Specifically, when the deletion operation instruction sent by the requester is detected, the file will be deleted in the snapshot directory. Create a blank file with the same name as the file to be deleted in the delete operation command, and then delete the file to be deleted in the data engine.
[0042] For example: when the name of the file to be deleted is file, a file file is created in the snapshot directory, and the file file is...
Embodiment 2
[0045] refer to figure 1 , the snapshot processing method of the present invention includes:
[0046] Use the names of all files in the data engine to construct a file name list, store the file name list in the metadata file under the snapshot directory, and record the log number at the current moment;
[0047] Based on the principle that the content of the data engine remains unchanged before and after the log is replayed by the data engine, the file copy operation of the distributed storage system using the consistency algorithm is performed. The specific process is as follows:
[0048] When the data copy operation instruction sent by the requester is detected, in the snapshot directory, according to the data copy operation instruction, the metadata file to be copied is sent to the requester;
[0049] When the pull file request sent by the requester is detected, the file is searched from the data engine according to the file name in the pull file request, and when the file ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com