Storage Write Lock Coordination for Overlapping Slice Ranges

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Dispersed storage networks face challenges in managing write conflicts when multiple write requests span overlapping ranges of slices, leading to potential data corruption and inefficiencies in storage operations.

Innovation Solution

The implementation of a method within the dispersed storage network that determines write lock conflicts by analyzing slice name ranges, allowing simultaneous writes for non-overlapping ranges and sequential writes for overlapping ranges, ensuring data integrity and performance by managing write requests effectively.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If write requests are processed sequentially for all slice ranges, then data integrity is maintained, but storage operation performance deteriorates

Engineering Contradiction:
Improvedata integrityVSAvoidstorage operation performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments the write operation into multiple independent slice range operations. By dividing the write request into discrete slice ranges that can be independently processed, the system allows concurrent execution of non-overlapping ranges while maintaining data integrity through proper locking mechanisms for overlapping ranges.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements dynamic write lock conflict detection and resolution. The system dynamically determines whether write locks conflict by comparing slice name ranges at runtime, allowing simultaneous writes when no conflict exists and sequential writes when conflicts are detected, thus adapting the processing mode to the specific operation characteristics.

Inventive Principle:
Principle #15Dynamics

2Reliability

If write lock conflict detection is implemented, then data corruption is prevented, but system complexity increases

Engineering Contradiction:
Improvedata corruption preventionVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent performs preliminary write lock conflict detection by comparing slice name ranges before executing write operations. The system determines whether write locks conflict in advance, allowing the coordinator to make informed decisions about concurrent execution versus sequential processing, thereby preventing data corruption before it can occur.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces a coordinator entity that acts as an intermediary between multiple storage units. The coordinator receives write requests, determines write lock conflicts by analyzing slice name ranges, and coordinates the execution of write operations across storage units, centralizing the complexity management while maintaining system reliability.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If simultaneous writes are allowed for non-overlapping ranges, then storage performance improves, but risk of write lock conflicts increases

Engineering Contradiction:
Improvestorage performanceVSAvoidwrite lock conflict risk
Core Design Contradiction:
ProductivityVSObject-affected harmful factors

Solution Approach 1:

The patent implements feedback mechanisms through write lock conflict detection. The system continuously monitors write requests, determines whether write locks conflict by comparing slice name ranges, and provides feedback to the coordinator to adjust execution timing. This feedback loop allows simultaneous writes when safe and prevents conflicts when risks are detected.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent changes the operational parameters of write requests based on conflict detection results. The system adjusts the execution mode (simultaneous vs. sequential) by evaluating slice name range parameters and write lock status, dynamically modifying how write operations are processed to optimize performance while managing conflict risks.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11681582B2Write lock conflicts in a storage network
Publication Date: 2023.06.20 PURE STORAGE INC
  • US11681582B2 patent drawing
  • US11681582B2 patent drawing
  • US11681582B2 patent drawing

AI summary

A storage unit operates by: receiving a write slice request, wherein the write slice request includes a plurality of encoded data slices and wherein the write slice request corresponds to a range; determining whether a write lock conflict exists based on the range; issuing an unfavorable write slice response when the write lock conflict is determined to exist; and when the write lock conflict is determined to not exist: initiating local storage of the plurality of encoded data slices; and issuing a favorable write slice response.