Append-Only Metadata and Data Arrays for Atomic File Operations

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing file systems face challenges in efficiently managing metadata and real data, particularly in ensuring atomicity, consistency, and durability, especially when dealing with multiple files and complex operations, as they often rely on a single log structure that complicates snapshotting and versioning.

Innovation Solution

The system employs separate append-only arrays for metadata and real data, with metadata records tracking modifying operations and their dependencies, ensuring atomicity and consistency by grouping operations into sets and maintaining a virtual file array based on complete metadata records, allowing for efficient snapshotting and versioning.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If a single log structure is used to store both metadata and real data, then storage simplicity is maintained, but snapshotting and versioning become complicated and less efficient

Engineering Contradiction:
Improvestorage structure complexityVSAvoidsnapshotting and versioning efficiency
Core Design Contradiction:
Device complexityVSEase of operation

Solution Approach 1:

The patent divides the storage structure into separate append-only arrays: one for metadata records and another for real data. This segmentation allows independent management of metadata operations (including snapshotting and versioning) from data storage, resolving the contradiction by simplifying both the overall structure and the specific operations on snapshots.

Inventive Principle:
Principle #1Segmentation

2Ease of operation

If separate append-only arrays are used for metadata and real data, then snapshotting and versioning efficiency is improved, but storage structure complexity increases

Engineering Contradiction:
Improvesnapshotting and versioning efficiencyVSAvoidstorage structure complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent merges the benefits of separate metadata and data management with a unified append-only array structure. By using append-only operations for both metadata and real data in separate arrays, the system achieves simplified snapshotting (as snapshots become simple pointer updates) and versioning, while the overall complexity remains manageable through the consistent append-only paradigm.

Inventive Principle:
Principle #5Merging (Combining)

3Adaptability or versatility

If traditional file system structures are used, then compatibility with existing systems is maintained, but atomicity, consistency, and durability cannot be efficiently ensured for complex operations

Engineering Contradiction:
Improvesystem compatibilityVSAvoidatomicity and consistency guarantee
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent introduces an intermediary layer (the append-only array structure with metadata records) between the traditional file system interface and the underlying storage. This intermediary enables atomicity, consistency, and durability guarantees for complex operations by logging all modifications in an append-only manner, while still presenting a familiar file system interface to applications, thus maintaining compatibility.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Device complexity

If metadata and real data are stored together in a single structure, then storage management is simplified, but fault tolerance and recovery capabilities are reduced

Engineering Contradiction:
Improvestorage management complexityVSAvoidfault tolerance capability
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent segments metadata and real data into separate append-only arrays, which enhances fault tolerance. If data corruption or failure occurs in one array, the other remains intact and can be used for recovery. This segmentation maintains relatively simple storage management through the consistent append-only paradigm while significantly improving reliability.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11468017B2Data storage system and method
Publication Date: 2022.10.11 CAPITAL THOUGHT HLDG LLC
  • US11468017B2 patent drawing
  • US11468017B2 patent drawing
  • US11468017B2 patent drawing

AI summary

A system and method are presented that utilize separate append-only arrays to track metadata and real data for a file. All modifications to the file result in metadata records being appended to the end of the metadata array. Write modification commands cause real data to be appended to the file data array. The location of real data on the file data array is identified by a record in the metadata array. Modification commands can be grouped into sets, which complete as a set. Modification sets can rely upon the completeness of prior sets. Read-like commands cause the creation of a virtual array based upon the records of the metadata array. The created virtual array has the same size as the actual file but does not contain the real data for the file. Rather, the virtual file array maps to the actual data stored in the file data array.