Namespace Metadata in Key-Value Stores for Space-Efficient Snapshots

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing deduplicated distributed file systems face challenges in efficiently managing namespace metadata to support snapshot operations, particularly in maintaining vast amounts of metadata while reducing storage consumption and enabling efficient sharing of unmodified regions between snapshots.

Innovation Solution

Storing namespace metadata in a key value store and employing a B+ tree structure that allows for cloning modified regions and sharing unmodified regions between snapshots, utilizing a microservices architecture for efficient snapshot management.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If traditional file system metadata management is used, then namespace operations can be supported, but storage consumption increases and snapshot efficiency decreases

Engineering Contradiction:
Improvestorage consumptionVSAvoidsnapshot efficiency
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The namespace metadata is segmented into a B+ tree structure where only modified regions need to be copied between snapshots. The tree is divided into pages that can be selectively copied, allowing efficient snapshots with minimal storage consumption by sharing unmodified regions.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Instead of copying the entire namespace metadata for each snapshot, the system copies only the modified regions of the B+ tree pages. Unmodified regions are shared between snapshots, significantly reducing storage consumption while maintaining snapshot efficiency.

Inventive Principle:
Principle #26Copying

2Reliability

If immutable metadata updates are used for snapshots, then snapshot consistency is maintained, but storage overhead increases

Engineering Contradiction:
Improvesnapshot consistencyVSAvoidstorage overhead
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The system transitions from static immutable metadata updates to dynamic copy-on-write copying of only modified regions. The B+ tree structure allows flexible copying of specific pages or regions, enabling snapshot consistency while minimizing storage overhead by sharing unmodified metadata.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

Different regions of the B+ tree are treated differently: modified regions are copied to maintain snapshot consistency, while unmodified regions are shared to reduce storage overhead. This local differentiation optimizes both reliability and storage efficiency.

Inventive Principle:
Principle #3Local quality

3Adaptability or versatility

If vast amounts of metadata are maintained, then deduplication and distributed namespace operations are supported, but system complexity increases

Engineering Contradiction:
Improvededuplication supportVSAvoidsystem complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The complex task of managing vast metadata for deduplication and distributed operations is simplified by representing the namespace as a B+ tree structure. This mathematical structure provides efficient indexing and searching, reducing the operational complexity of managing large-scale metadata while maintaining deduplication capabilities.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The metadata management system is segmented into a hierarchical B+ tree structure with pages that can be independently managed. This segmentation reduces the complexity of handling vast amounts of metadata by breaking it down into manageable units that can be efficiently processed and shared between snapshots.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12455791B2Storing namespace metadata in a key value store to facilitate space efficient point in time snapshots
Publication Date: 2025.10.28 DELL PROD LP
  • US12455791B2 patent drawing
  • US12455791B2 patent drawing
  • US12455791B2 patent drawing

AI summary

Metadata of a file system is maintained in a key value store. The metadata includes a namespace represented as a B+ tree having pages written to the key value store. Identifiers to the pages include a snapshot identifier and a page number. The identifiers are stored as keys in the key value store. The snapshot identifiers are used to track pages that are shared between first and second snapshots. Upon a request to write to an existing page, a determination is made from the snapshot identifiers as to whether the existing page belongs to the first or second snapshot. If the existing page belongs to the second snapshot, the write to the existing page is allowed. If the existing page belongs to the first snapshot, a copy on write (COW) is performed to generate a new page for the write.