Data Set Reorganization Recovery via Pending State Flag

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In computing environments, data set reorganization can lead to data integrity issues and outages due to incomplete reorganization processes, especially when other clients access the data set during reorganization, resulting in corrupted data.

Innovation Solution

A system and method that initiates an operation to complete a pending uncompleted data set reorganization when accessing the data set, using a flag to indicate the reorganization state and invoking recovery code to ensure data integrity by reordering records according to an index key, even if the reorganization was interrupted.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If data set reorganization is performed to improve access performance, then access performance is improved, but data integrity may be compromised and outages may occur when other clients access the data set during reorganization

Engineering Contradiction:
Improveaccess performanceVSAvoiddata integrity
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The system performs preliminary actions by checking the reorganization status flag before allowing access operations. When a client attempts to access the data set and the flag indicates an incomplete reorganization, the system preemptively completes the reorganization before allowing the client to access the data, preventing data integrity issues from arising during concurrent access.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system uses feedback mechanisms through status flags that track the reorganization state. The flag is set when reorganization begins and cleared when completed. This feedback loop allows the system to detect incomplete reorganizations and trigger recovery operations, ensuring data integrity is maintained while enabling performance improvements.

Inventive Principle:
Principle #23Feedback

2Reliability

If reorganization is interrupted due to client access during the process, then data integrity problems occur, but completing the reorganization ensures optimal access performance

Engineering Contradiction:
Improvedata integrityVSAvoidreorganization completion time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs self-service by automatically detecting incomplete reorganizations through status flags and initiating recovery operations without external intervention. When a client attempts to access the data set during an interrupted reorganization, the system autonomously completes the reorganization process, ensuring data integrity is restored without requiring manual intervention or causing permanent time loss.

Inventive Principle:
Principle #25Self-service

3Reliability

If the system always completes reorganization before allowing access, then data integrity is ensured, but access delay increases when reorganization is pending

Engineering Contradiction:
Improvedata integrityVSAvoidaccess delay
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary status checking before access operations. By detecting the reorganization flag in advance and completing the reorganization beforehand, the system ensures data integrity is established prior to client access, eliminating the need for delays while maintaining integrity through proactive rather than reactive completion.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11977520B2Recovering from a pending uncompleted reorganization of a data set
Publication Date: 2024.05.07 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11977520B2 patent drawing
  • US11977520B2 patent drawing
  • US11977520B2 patent drawing

AI summary

Provided are a computer program product, system, and method for recovering from a pending uncompleted reorganization of a data set managing data sets in a storage. In response an initiation of an operation to access a data set, an operation is initiated to complete a pending uncompleted reorganization of the data set in response to the data set being in a pending uncompleted reorganization state and no other process currently accessing the data set.