KV Checksum Metadata Layout for Heterogeneous Cluster Integrity

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for detecting data integrity issues in heterogeneous cluster environments suffer from reduced system performance, increased checksum processing time, and compatibility issues with different software versions, particularly in KV databases.

Innovation Solution

The HetroGuard method stores checksum metadata as part of the KV structure, ensuring compatibility and cache-optimized processing by keeping metadata close to corresponding data, allowing efficient and accurate error detection with minimal performance impact.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If checksum metadata is stored separately from data, then data integrity can be verified, but system performance decreases and checksum processing time increases

Engineering Contradiction:
Improvedata integrity verificationVSAvoidsystem performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent merges checksum metadata with data by storing it within the same KV block structure. The checksum is embedded as a field within the KV value rather than being stored separately, allowing both data and integrity verification information to coexist in a single storage unit, thus improving system performance while maintaining data integrity verification capability

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent segments the KV block into distinct fields including data, checksum, and other metadata fields. This segmentation allows the system to process only the necessary portions of the data structure during verification, reducing processing overhead while ensuring complete data integrity checking

Inventive Principle:
Principle #1Segmentation

2Reliability

If checksum processing is performed on all data, then data integrity is ensured, but checksum processing time increases

Engineering Contradiction:
Improvedata integrityVSAvoidchecksum processing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent performs checksum calculation and storage as a preliminary action during the data write operation. By pre-computing and storing the checksum alongside the data in the KV block, the system eliminates the need for time-consuming checksum recalculation during read operations, thus ensuring data integrity while minimizing processing time loss

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates a checksum copy of the data during the write operation and stores it within the KV block. This checksum copy serves as a pre-computed verification reference that can be quickly compared against future data reads without requiring re-computation, thereby reducing checksum processing time while maintaining integrity verification

Inventive Principle:
Principle #26Copying

3Productivity

If metadata is made unretrievable by other methods, then cache optimality is achieved, but compatibility with other software versions becomes difficult

Engineering Contradiction:
Improvecache optimalityVSAvoidsoftware version compatibility
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent applies local quality by marking the checksum field with a specific indicator that makes it unretrievable by standard query methods while still accessible to the database system through specialized paths. This localized differentiation allows the metadata to be cache-optimized for the specific database implementation while maintaining compatibility through standardized field structures that other software versions can recognize and handle appropriately

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS12572526B2Systems, apparatuses, methods, and non- transitory computer-readable storage media for detecting data integrity issue in heterogeneous cluster environments with cache optimality
Publication Date: 2026.03.10 HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
  • US12572526B2 patent drawing
  • US12572526B2 patent drawing
  • US12572526B2 patent drawing

AI summary

An apparatus has one or more processors functionally coupled to one or more computer-readable storage media for: receiving a first piece of data; storing the first piece of data and a corresponding first key into a key-value (KV) storage as a first KV block therein; generating a first metadata for at least the first piece of data; and storing a second key, the first metadata, and a first indication into the KV storage as a second KV block therein, the second KV block being associated with the first KV block. The first indication is for causing the first metadata of the second KB block to be unretrievable by another method.