Self-Describing Replica Files for Distributed Storage Recovery

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Distributed storage systems face performance issues and slow recovery due to the use of journals for filesystem durability, which result in increased downtime and reduced lifespan of storage devices, as they require additional writes and cache flushes, and necessitate full filesystem scans for consistency checks.

Innovation Solution

The implementation of self-describing replica files with chronology data and metadata links, which allow for atomic persistence and updates, enabling efficient recovery without journal replay or full filesystem scans, thereby reducing downtime and storage wear.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If journals are used to provide filesystem durability, then crash consistency is improved, but recovery speed deteriorates due to required journal replay and full filesystem scans

Engineering Contradiction:
Improvecrash consistencyVSAvoidrecovery time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts the durability information from the journal system and embeds it directly into the replica files themselves. Each replica file contains chronology data and metadata links that self-describe its version and relationship to parent files, eliminating the need for external journal replay during recovery.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Replica files become self-describing by incorporating chronology data and metadata links within their structure. This allows them to independently verify their consistency state without requiring external journal information or full filesystem scans, enabling faster recovery.

Inventive Principle:
Principle #25Self-service

2Reliability

If journals are used for filesystem durability, then crash consistency is improved, but storage device lifespan deteriorates due to additional writes and cache flushes

Engineering Contradiction:
Improvecrash consistencyVSAvoidstorage device lifespan
Core Design Contradiction:
ReliabilityVSDuration of action of stationary object

Solution Approach 1:

The patent removes the separate journal writing mechanism and integrates durability tracking directly into the replica file structure. This eliminates redundant write operations to journal files and reduces the total number of cache flushes required, thereby extending storage device lifespan.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent combines the durability tracking function previously performed by separate journal files with the replica files themselves. By embedding chronology data and metadata links within replica files, the system merges data storage and durability verification into a single operation, reducing total write amplification.

Inventive Principle:
Principle #5Merging (Combining)

3Reliability

If full filesystem scans are performed for consistency checks, then version consistency is improved, but productivity deteriorates due to increased downtime

Engineering Contradiction:
Improveversion consistencyVSAvoidsystem availability
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent extracts the consistency verification information from the entire filesystem scope and localizes it within individual replica files through embedded metadata links and chronology data. This allows consistency checks to be performed on individual files rather than requiring full filesystem scans.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Instead of performing excessive full filesystem scans for consistency checks, the patent applies partial action by checking only the specific replica files that need verification using their self-describing metadata. This selective approach maintains version consistency while minimizing the scope and time of consistency checks.

Inventive Principle:
Principle #16Partial or excessive action

4Reliability

If multiple journal writes and cache flushes are performed, then durability is improved, but device wear increases

Engineering Contradiction:
Improvefilesystem durabilityVSAvoidstorage device wear
Core Design Contradiction:
ReliabilityVSObject-generated harmful factors

Solution Approach 1:

The patent merges the durability assurance mechanism with the data storage operation itself by embedding chronology data and metadata links within replica files. This combination eliminates the need for separate journal writes and reduces cache flush operations, thereby reducing write amplification and storage device wear while maintaining durability.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

Replica files self-verify their durability state through embedded chronology data and metadata links, eliminating the need for external journal validation. This self-service approach reduces the number of write and flush operations required to ensure durability, thereby reducing storage device wear.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS10725976B2Fast recovery using self-describing replica files in a distributed storage system
Publication Date: 2020.07.28 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10725976B2 patent drawing
  • US10725976B2 patent drawing
  • US10725976B2 patent drawing

AI summary

The embodiments relate to performing a write operation in a filesystem. Replica files embedded with respective sets of data are stored are on persistent storage local to replica nodes of the filesystem. The storage includes atomically updating the replica files to the replica nodes. Each set of data has information for self-characterizing each replica file. A map stored at persistent storage local to a remote node is updated. The map maintains information for identifying each replica file stored at each replica node.