Data truncation method and device based on erasure codes
A technology for data truncation and erasure coding, applied in the field of data truncation based on erasure coding, can solve the problems of truncation operation amplification, affecting the performance of erasure coding, reducing the write performance of distributed storage systems, etc. The effect of improving write performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0026]The distributed storage system stores the data that needs to be stored sent by the user through the client in a distributed manner on multiple storage nodes. In order to enhance the reliability of the distributed storage system and the ability to To migrate data from one storage node to another, in order to facilitate data migration between storage nodes, users need to organize, migrate and maintain the stored data in units of data maintenance units, including data maintenance after abnormal recovery of storage nodes Data recovery is also performed in units of data maintenance units. The data that users need to store will first be divided into several data maintenance units, and each data maintenance unit will be stored in different storage nodes. Therefore, the storage node is an indispensable component in the distributed storage system, and the data maintenance unit is also an indispensable concept in the distributed storage system. However, for different specific dis...
Embodiment approach
[0037] As an implementation manner, the method for executing the data truncation command may include:
[0038] First, the OSD node 10 generates a log version number according to preset rules. The log version number is the unique number of the operation log of the data truncation command, and each data truncation command corresponds to a log version number.
[0039] Secondly, the OSD node 10 obtains the slave OSD node list that stores the data to be truncated corresponding to the object according to the object ID, that is, the OSD node 30, OSD node 40, etc. slave OSD node lists, and the log version number, the object in the data truncation command The ID and the truncation position in the object are sent to the OSD node 30, OSD node 40 and other slave OSD nodes, so that the OSD node 30, OSD node 40 and other slave OSD nodes execute the data truncation command. At the same time, the OSD node 10 executes the data truncation command to truncate the data to be truncated correspond...
no. 2 example
[0056] Please refer to Figure 6 , Figure 6 A schematic block diagram of an erasure code-based data truncation device 200 provided by an embodiment of the present invention is shown. The data truncation device 200 based on an erasure code is applied to a storage node in a distributed storage system, and includes a receiving module 201 , a judgment module 202 , a data truncation module 203 , a determination module 204 and a control module 205 .
[0057] The receiving module 201 is configured to receive a data truncation command sent by the client, wherein the data truncation command is generated by the client in response to the file truncation request to truncate the data to be truncated stored in the storage node.
[0058] In the embodiment of the present invention, the receiving module 201 may be used to execute step S101.
[0059] The judging module 202 is configured to judge whether there is a data writing transaction being processed on the data maintenance unit to which...
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