Metadata Garbage Collection via Backup Check Markers

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In storage systems that maintain geographic consistency, the inefficiency of garbage collection is due to the need to wait for full backups of user data and metadata in remote devices, leading to prolonged retention of useless metadata as garbage, which occupies resources and reduces resource utilization.

Innovation Solution

The solution involves recording the location of log information associated with each operation in metadata, allowing for early determination of backed-up user data and metadata through a check marker, enabling immediate marking as removable metadata without waiting for metadata integration tasks to complete.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the system waits for full backup completion before garbage collection, then geographic consistency is maintained, but garbage collection efficiency deteriorates

Engineering Contradiction:
Improvegeographic consistencyVSAvoidgarbage collection efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system performs preliminary actions by recording log information locations in metadata and using check markers to track backup progress. This allows the system to determine in advance which metadata can be safely removed without waiting for complete backup verification, thus improving garbage collection efficiency while maintaining geographic consistency through the preliminary tracking mechanism.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If metadata is retained until backup completion, then data safety is ensured, but resource utilization deteriorates

Engineering Contradiction:
Improvedata safetyVSAvoidresource utilization
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The system implements feedback through check markers that continuously track the backup status of user data and metadata. This feedback mechanism allows the system to dynamically determine when metadata has been successfully backed up and can be removed, enabling timely resource release while ensuring data safety through continuous status monitoring and verification.

Inventive Principle:
Principle #23Feedback

3Stability of the object's composition

If garbage collection is delayed until backup completion, then consistency is maintained, but time consumption increases

Engineering Contradiction:
ImproveconsistencyVSAvoidtime consumption
Core Design Contradiction:
Stability of the object's compositionVSLoss of time

Solution Approach 1:

The system segments the garbage collection process by dividing metadata into groups that can be independently evaluated for removal. Using log information locations and check markers, the system can identify and remove specific metadata segments that have been successfully backed up, rather than waiting for complete backup of all data. This segmentation approach maintains consistency for backed-up portions while reducing overall time consumption.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11216427B2Method, electronic device and computer-readable medium for managing metadata
Publication Date: 2022.01.04 EMC IP HLDG CO LLC
  • US11216427B2 patent drawing
  • US11216427B2 patent drawing
  • US11216427B2 patent drawing

AI summary

Embodiments of the present disclosure provide a method, an electronic device and a computer-readable medium for managing metadata. The method disclosed herein comprises: obtaining a check marker from a remote device; determining whether the check marker indicates that user data and metadata have been backed up in the remote device, the user data and the metadata being generated by an operation executed by a user on an object; and in response to the check marker indicating that the user data and the metadata have been backed up in the remote device, marking the metadata as removable metadata. In this way, the embodiments of the present disclosure can improve garbage collection efficiency of a storage system and execution efficiency of a metadata integration task.