Collision Handling in Asynchronous Replication via Sequence Tagging

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Synchronous replication introduces latency due to the need for acknowledgement from the destination array, while asynchronous replication faces issues like scrambled data, overwrite risks, and lost transactions due to link or node failures, and write ordering challenges across distributed systems.

Innovation Solution

The solution involves using a distributed set management system where transactions are tagged with a cluster-wide correlator and grouped into sets based on common properties, allowing for efficient processing and sequencing across distributed platforms, with mechanisms for collision handling and node failure recovery.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If synchronous replication is used to ensure data integrity, then reliability is improved, but speed deteriorates due to acknowledgement latency

Engineering Contradiction:
Improvedata integrityVSAvoidreplication speed
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The patent segments the replication process into independent transaction units that can be processed asynchronously. Each transaction is assigned a sequence number and replicated independently without blocking, allowing the system to maintain data integrity through sequencing while improving replication speed by eliminating acknowledgement latency.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements preliminary actions by pre-assigning sequence numbers to transactions before replication and maintaining a write ordering mechanism at the destination. This allows the destination array to process transactions in the correct order without requiring real-time acknowledgements, thus preserving reliability while enhancing speed.

Inventive Principle:
Principle #10Preliminary action

2Speed

If asynchronous replication is used to improve speed, then replication speed is improved, but reliability deteriorates due to scrambled data and write ordering issues

Engineering Contradiction:
Improvereplication speedVSAvoiddata integrity
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The patent implements a feedback mechanism through sequence numbers assigned to each transaction. The destination array uses these sequence numbers to verify and maintain the correct write order, providing feedback on transaction processing status without requiring blocking acknowledgements. This ensures reliability while maintaining asynchronous speed.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent changes the parameter of transaction identification from simple acknowledgements to sequence-numbered transactions. This parameter change allows the system to track and enforce write ordering asynchronously, resolving the reliability issue while preserving the speed benefit of asynchronous replication.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If a distributed set management system is implemented to handle collisions, then reliability is improved, but device complexity increases

Engineering Contradiction:
Improvecollision handlingVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements a self-service mechanism where each transaction carries its own sequence number and collision information. The destination array autonomously processes collisions by comparing sequence numbers without requiring complex external coordination. This maintains reliability through proper collision handling while minimizing system complexity by distributing the management logic to individual transactions.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS10929431B2Collision handling during an asynchronous replication
Publication Date: 2021.02.23 HEWLETT PACKARD ENTERPRISE DEV LP
  • US10929431B2 patent drawing
  • US10929431B2 patent drawing
  • US10929431B2 patent drawing

AI summary

Methods and systems for collision handling during an asynchronous replication are provided. A system includes a cache memory system comprising a number of cache memory pages. A collision detector detects when a host is attempting to overwrite a cache memory page that has not been completely replicated. A revision page tagger copies the cache memory page to a free page and tags the copied page as protected.