OPERATION METHOD AND APPARATUS FOR DATA STORAGE SYSTEM
First Claim
1. An operation method for a data storage system, comprising:
- receiving, by a data node, a data operation message, wherein the data operation message carries a data operation type and a data object of an operation;
querying a state parameter of the data object, wherein the state parameter is allocated to the data node by a management node, and is used to indicate an update state of the data object, and the state parameter comprises a synchronous state, a semi-synchronous state and an asynchronous state; and
if the state parameter is the synchronous state and the operation type is a read operation, reading the data object stored by the data node.
1 Assignment
0 Petitions
Accused Products
Abstract
An operation method and apparatus for a data storage system are provided, which relate to the field of data storage and enhance efficiency of a read operation on distributed stored data. The method includes: receiving, by a data node, a data operation message, where the data operation message carries a data operation type and a data object of an operation; querying a state parameter of the data object, where the state parameter is allocated to the data node by a management node, and is used to indicate an update state of the data object, and the update state includes a synchronous state, a semi-synchronous state and an asynchronous state; and if the state parameter is the synchronous state and the operation type is a read operation, reading the data object stored by the data node. Embodiments of the invention are used to operate data in a distributed data storage system.
32 Citations
23 Claims
-
1. An operation method for a data storage system, comprising:
-
receiving, by a data node, a data operation message, wherein the data operation message carries a data operation type and a data object of an operation; querying a state parameter of the data object, wherein the state parameter is allocated to the data node by a management node, and is used to indicate an update state of the data object, and the state parameter comprises a synchronous state, a semi-synchronous state and an asynchronous state; and if the state parameter is the synchronous state and the operation type is a read operation, reading the data object stored by the data node. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 22, 23)
-
-
12. An operation apparatus for a data storage system, comprising:
-
an operation message receiving unit, configured to receive a data operation message, wherein the data operation message carries a data operation type and a data object of an operation; a state parameter querying unit, configured to query a state parameter of the data object, wherein the data parameter is allocated to a data node by a management node, and is used to indicate an update state of the data object, and the state parameter comprises a synchronous state, a semi-synchronous state and an asynchronous state; and a data reading unit, configured to, when the state parameter is the synchronous state and the operation type is a read operation, read the data object stored by the data node. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21)
-
Specification