Outcast Index Bitmap for Distributed File System Replica Consistency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In distributed file systems, when a storage server fails and is later restored, the target replica may become outdated due to incomplete propagation of changes from the source replica, leading to data loss and consistency issues if used for repairing other replicas.

Innovation Solution

Implementing an outcast index system where each server maintains metadata to track the state of its own and other replicas, using bitmaps to indicate modified portions and initiating repair processes automatically upon detection of an outcast state, ensuring that outdated replicas are not used for further repairs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If a storage server fails and is restored without tracking replica state, then the server can quickly resume operations, but the target replica may become outdated and cause data loss or consistency issues

Engineering Contradiction:
Improveserver recovery speedVSAvoiddata consistency
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system performs preliminary actions by setting the outcast bit in the bitmap metadata before the repair process completes. This preliminary marking prevents the outdated replica from being used for repairs before any actual data corruption occurs, resolving the contradiction by proactively protecting data consistency while allowing rapid server recovery.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements feedback through the bitmap metadata mechanism that tracks the state of each replica. When a server recovers, the outcast bit provides immediate feedback about the replica's validity status, enabling the system to automatically prevent use of outdated replicas without manual intervention, thus maintaining reliability during rapid recovery operations.

Inventive Principle:
Principle #23Feedback

2Reliability

If the system tracks replica state with detailed metadata, then data consistency can be maintained, but system complexity increases

Engineering Contradiction:
Improvedata consistencyVSAvoidmetadata management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system segments the complexity by using a bitmap data structure where each bit represents the state of a specific replica. This segmentation allows the system to track multiple replicas with simple binary states rather than complex metadata records, reducing overall system complexity while maintaining data consistency through individual bit tracking for each replica.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system changes the parameter representation from complex metadata records to simple binary bit states in a bitmap. This parameter change simplifies the complexity of tracking replica states while maintaining the ability to detect and respond to outdated replicas, resolving the contradiction between reliability and complexity.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If the system waits for complete repair propagation before allowing server operations, then data consistency is ensured, but repair time increases significantly

Engineering Contradiction:
Improvedata consistencyVSAvoidrepair time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system takes preliminary action by setting the outcast bit as soon as repair propagation begins or is detected as incomplete, rather than waiting for complete propagation verification. This allows the server to resume operations quickly while the bitmap mechanism continues to prevent use of potentially outdated replicas, reducing repair time without sacrificing data consistency.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The bitmap provides continuous feedback about replica state during the repair process, allowing the system to make real-time decisions about server operation resumption. This feedback mechanism enables early termination of waiting periods while maintaining data consistency through automatic prevention of outdated replica use.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS10120868B2Outcast index in a distributed file system
Publication Date: 2018.11.06 RED HAT INC
  • US10120868B2 patent drawing
  • US10120868B2 patent drawing
  • US10120868B2 patent drawing

AI summary

An outcast index in a distributed file system is described. A first server can receive an indication that a first replica stored on the first server is to be modified in view of a second replica stored on a second server. The first replica and the second replica are replicas of a same file. The first server updates metadata associated with the first replica to indicate an outcast state of the first replica. The first server receives an indication that the modification of the first replica is complete. The first server updates the metadata associated with the first replica to remove the outcast state of the first replica.