Distributed Lock Manager Active Lock Recovery

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In networks, rebuilding lock information after a node failure is time-consuming due to the need to manage hundreds of thousands of locks, causing significant delays in application execution.

Innovation Solution

Implementing a status flag for locks, where active locks are rebuilt and inactive locks are discarded, reducing the time required to rebuild lock information by several orders of magnitude.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If all locks are rebuilt after a node failure, then complete lock information is restored, but the recovery time becomes excessively long

Engineering Contradiction:
Improvelock information completenessVSAvoidrecovery time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts and identifies only the active locks from the complete lock set after a node failure. By using a lock status flag to distinguish active locks from inactive ones, the system recovers only the necessary subset of lock information, eliminating the need to rebuild all locks and thereby significantly reducing recovery time while maintaining reliability for active resources.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies partial action by rebuilding only the necessary portion of lock information (active locks) rather than performing a complete rebuild of all locks. This selective approach recovers sufficient lock data to maintain system functionality while avoiding the excessive time cost of processing inactive locks that do not require recovery.

Inventive Principle:
Principle #16Partial or excessive action

2Loss of time

If lock status tracking is implemented, then recovery time is reduced, but system complexity increases

Engineering Contradiction:
Improverecovery timeVSAvoidlock management complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The lock manager automatically tracks and maintains the status flag for each lock without requiring external intervention or complex coordination mechanisms. Each lock's active/inactive state is self-managed through simple flag updates, allowing the system to quickly identify which locks need recovery after a failure without adding significant complexity to the overall lock management architecture.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20240078134A1Systems and methods for recovery with a distributed lock manager
Publication Date: 2024.03.07 SAMSUNG ELECTRONICS CO LTD
  • US20240078134A1 patent drawing
  • US20240078134A1 patent drawing
  • US20240078134A1 patent drawing

AI summary

A system is disclosed. A node may include a resource. A lock manager may include storage for a data structure for a lock. The data structure may include a first identifier for the resource, a second identifier for an application, and a status for the lock.