Data processing method and device, electronic device and computer readable storage medium
A data processing and data technology, applied in the direction of electrical digital data processing, input/output process of data processing, calculation, etc., can solve the problems of cumbersome operation and prolongation of data writing time, so as to simplify the operation steps and reduce the writing time. Latency, the effect of ensuring write consistency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] figure 1 is a flow chart of the steps of a data processing method provided by an embodiment of the present invention, such as figure 1 As shown, the method may include:
[0026] Step 101. In the case of multiple write requests sent by the client to the storage system, the first node in the storage system sets a logical identifier for each of the write requests; The setting order changes monotonously in turn; the first node is the first node in the storage system that receives the multiple write requests.
[0027] Embodiments of the present invention may be applied to a storage system including multiple nodes, and the storage system may be a distributed storage system (Distributed Storage System) or a storage system in other forms, which is not limited in the present invention. The storage system can disperse and store data on multiple nodes, and multiple nodes can be set up in different geographical locations, so as to receive write requests from clients in different ...
Embodiment 2
[0037] Optionally, in an implementation manner, the target information in this embodiment of the present invention includes target dependencies, which can be used to represent whether there is a dependency between write requests, for example, the data carried in write request 1 A is generated based on the data B carried in write request 2, therefore, the target dependency can be obtained as write request 1 depends on write request 2;
[0038] Correspondingly, in this embodiment of the present invention, before the first node synchronizes the target information of each write request to each second node in the storage system, the following sub-steps may be performed:
[0039] Sub-step (1): The first node counts the requests that each of the write requests depends on to generate a first dependency, and obtains a second dependency determined by each fourth node in the target node cluster; the The second dependency relationship is determined by the fourth node by counting the reque...
Embodiment 3
[0063] Optionally, in another implementation manner, in the embodiment of the present invention, before the step of writing the data to be written corresponding to the write request according to the target execution sequence, the following sub-steps may be performed:
[0064] Sub-step (6): The third node adjusts the state of the write request to a preset state.
[0065] In the embodiment of the present invention, the preset state may be the execution (Commit) state, and the state of the write request is adjusted to the preset state, which may be the state recorded in the tag of the write request in the tag associated with the write request Modified to execute state.
[0066] In the embodiment of the present invention, the above-mentioned writing of the data to be written corresponding to the write request according to the target execution sequence may include the following sub-steps:
[0067] Sub-step (7): When the state of the write request is a preset state, the third node ...
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