Distribution Identifier for Data Replication Consistency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing data replication techniques in information processing systems face challenges in maintaining consistency and efficiency during asynchronous replication, particularly when distribution changes occur, leading to potential data loss and inconsistencies between source and destination systems.
Innovation Solution
The implementation of a distribution layer and management component in the source system, which assigns and verifies distribution identifiers for input-output operations, ensures that IO write operations are properly routed and replicated across distributed replication components, maintaining consistency and order even during changes in system distribution.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If asynchronous replication is used to improve system performance and reduce latency, then data consistency between source and destination systems deteriorates during distribution changes
Solution Approach 1:
The patent introduces distribution identifiers as an intermediary mechanism that mediates between the asynchronous replication process and the distribution changes. The distribution identifier is assigned to each IO operation and carried through the replication process, enabling the destination system to detect and handle distribution changes without blocking asynchronous replication, thus maintaining both performance and consistency.
Solution Approach 2:
The patent applies preliminary action by assigning distribution identifiers to IO operations before replication occurs. The source system assigns a distribution identifier to each IO operation, and this identifier is included in the replication data sent to the destination system. This preliminary tagging enables the destination system to detect distribution changes and handle them appropriately without disrupting the asynchronous replication flow.
2Adaptability or versatility
If distribution changes are handled by reassigning replication components, then system adaptability improves, but data consistency and ordering deteriorate
Solution Approach 1:
The distribution identifier acts as an intermediary that bridges the gap between distribution changes and data ordering requirements. By including the distribution identifier with each replicated IO operation, the system enables destination replication components to recognize when a distribution change has occurred and to reorder or reprocess operations accordingly, maintaining data ordering despite component reassignment.
Solution Approach 2:
The patent implements feedback by having the destination system verify distribution identifiers against expected values. When a distribution change occurs, the destination system detects the mismatch in distribution identifiers and uses this feedback to trigger appropriate handling procedures, such as reordering operations or updating mapping information, thereby maintaining data consistency despite adaptability changes.
3Reliability
If distribution identifiers are assigned and verified for each IO operation, then data consistency improves, but system complexity increases
Solution Approach 1:
The patent applies copying by creating a copy of the distribution identifier from the source system and attaching it to each replicated IO operation. This copied identifier travels with the data through the replication process, enabling verification at the destination without requiring complex coordination or state management, thus improving consistency while minimizing added complexity.
Solution Approach 2:
The distribution identifier enables self-service by allowing the destination system to autonomously detect distribution changes and handle them without requiring complex external coordination. Each replicated operation carries its own distribution identifier, which the destination system can verify independently, reducing the need for complex centralized control mechanisms.
Data Source
AI summary
An apparatus comprises a source system comprising a distribution layer, a management component and a plurality of replication components. The distribution layer is configured to obtain an input-output operation corresponding to an address and to identify a given replication component that corresponds to the address based at least in part on a distribution instance. The distribution layer is configured to assign a first distribution identifier corresponding to the distribution instance to the input-output operation and to provide the input-output operation to the given replication component with the first distribution identifier. The given replication component is configured to obtain a second distribution identifier from the management component and to determine whether or not the first distribution identifier is equal to the second distribution identifier. The given replication component is further configured to perform at least one action on the obtained input-output operation based at least in part on the determination.


