Tree-Based Metadata Cloning in Distributed File Systems

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing file system metadata management technologies face challenges in quickly and frequently cloning metadata due to the high number of entries in flat data stores, leading to increased access times and time-consuming cloning operations.

Innovation Solution

A tree-based metadata management system where file system metadata is stored in leaf nodes, allowing for efficient cloning by copying the root node and its pointers, with each leaf node storing a single key-value pair, and using a distributed lock system for synchronized reading and writing, along with caching to manage metadata efficiently.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If metadata is stored in a flat data store with millions of entries, then all metadata can be accessed directly from a root node, but copying the metadata becomes very time-consuming

Engineering Contradiction:
ImproveDirect access to metadataVSAvoidCloning time
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The patent segments the flat metadata store into a hierarchical B-tree structure where metadata is divided across multiple levels of nodes. The root node contains a limited number of pointers to child nodes, which in turn contain pointers to leaf nodes storing actual metadata. This segmentation allows cloning to occur at the root node level rather than copying all millions of metadata entries, dramatically reducing cloning time while preserving direct access capabilities through the tree structure.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transitions from a two-dimensional flat structure (root node directly accessing all metadata entries) to a multi-dimensional hierarchical structure (root node → intermediate nodes → leaf nodes). This dimensional change allows the system to maintain direct access properties while enabling efficient cloning by operating on the compressed root node representation rather than the expanded flat structure.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Loss of time

If root node copies are created with references to original root nodes, then cloning operations become faster, but access time to nodes in the original store becomes very high after many cloning operations

Engineering Contradiction:
ImproveCloning timeVSAvoidAccess time
Core Design Contradiction:
Loss of timeVSEase of operation

Solution Approach 1:

The patent implements copying by creating shallow copies of the B-tree structure where the root node and intermediate nodes are copied but leaf nodes remain shared references. This allows rapid cloning operations that copy only the structural framework while maintaining efficient access paths to the actual metadata through the copied tree structure, preventing access time degradation even after multiple cloning operations.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The B-tree structure serves multiple functions simultaneously: it enables fast cloning through root node copying, maintains efficient access times through preserved tree paths, and supports metadata organization through hierarchical grouping. The same structure that enables direct access also enables efficient cloning, making the system universally effective for both operations without the trade-offs of the flat store approach.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Ease of operation

If coalescing operations are performed to reduce access times, then access time to nodes is reduced, but cloning operations require a large amount of time to complete

Engineering Contradiction:
ImproveAccess timeVSAvoidCloning time
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The patent maintains segmentation of metadata into a B-tree structure where only the root and intermediate nodes need to be copied during cloning operations. This segmentation prevents the need for coalescing operations because the hierarchical structure already provides efficient access paths while enabling fast cloning through selective copying of structural nodes only, avoiding the time-consuming full coalescing process.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS9720926B2Read operations in a tree-based distributed file system
Publication Date: 2017.08.01 COHESITY INC
  • US9720926B2 patent drawing
  • US9720926B2 patent drawing
  • US9720926B2 patent drawing

AI summary

Techniques for cloning, writing to, and reading from file system metadata. Cloning involves identifying a first set of pointers included in a first root node in a file system metadata tree structure that stores file system metadata in leaf nodes of the tree structure, creating a first copy of the first root node that includes the first set of pointers, creating a second copy of the first root node that includes the first set of pointers, associating the first copy with a first view, and associating the second copy with a second view. Reading generally involves traversing the tree structure towards a target leaf node that contains data to be read. Writing generally involves traversing the tree structure in the same manner, but also creating copies of any nodes to be modified if those nodes are deemed to have a different treeID than a particular root node.