The invention particularly relates to a cloud native high-availability
object storage method based on erasure codes. The cloud native high-availability
object storage method based on erasure codes comprises the following steps: dividing
original data into k data blocks, and generating m-k
verification blocks; constructing an m *
k matrix by using a
Vandermonde matrix, wherein the m *
k matrix is used for coding erasure codes; elements in the matrix are
Byte values in a GF (28) finite field; the data blocks and the
verification blocks are stored in a distributed mode, and when
data needs to be read, the data blocks and the
verification blocks are calculated through an inverse matrix of the
Vandermonde matrix; when the number of the storage nodes is increased or decreased, the
coefficient matrix is recalculated, and redistribution storage and
dynamic capacity expansion are achieved. According to the cloud native high-availability
object storage method based on the erasure codes, storage
dynamic capacity expansion and
data integrity protection are achieved, lost and damaged data can be recovered, the
high availability of storage services is improved, the stability and continuity of core services are guaranteed, and the safety and
high availability of a cloud native platform are improved.