Volume Metadata Manager Lazy Antivirus Update
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
As storage volumes grow, checking and updating antivirus attributes for all files becomes time-consuming, potentially requiring volumes to be taken offline, disrupting data access services.
Innovation Solution
Implementing a 'lazy' update mechanism where antivirus attributes are checked and updated only when a file is requested for access, using generation indicators in volume and file metadata to defer scanning until necessary.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If antivirus attributes are checked and updated for all files in a volume during relocation, then file security is ensured, but the volume must be taken offline causing service interruption and time consumption
Solution Approach 1:
The system performs preliminary action by updating the generation indicator in volume-level metadata before relocation, so that when files are accessed after relocation, the antivirus attributes are already prepared for efficient updating. This allows the actual file scanning to be deferred until necessary without compromising security.
Solution Approach 2:
The system dynamically adjusts the antivirus attribute updating process based on access patterns. Instead of static comprehensive scanning, the system lazily updates only the generation indicator during relocation and performs full antivirus attribute updates only when files are actually accessed, making the process adaptive and efficient.
2Reliability
If antivirus attributes are checked and updated for all files in a volume during relocation, then file security is ensured, but data access services are interrupted
Solution Approach 1:
The generation indicator in volume-level metadata is updated before relocation as a preliminary action, establishing the foundation for secure file access after relocation. This prepares the system state without requiring actual file scanning during the relocation process, maintaining service continuity.
Solution Approach 2:
The system performs self-service by automatically managing the generation indicators and antivirus attributes without requiring manual intervention or service interruption. The lazy update mechanism allows the system to maintain security while enabling continuous data access operations.
3Stability of the object's composition
If a complex algorithm is used to track updated antivirus attributes, then metadata consistency is maintained, but system complexity increases
Solution Approach 1:
The system segments the antivirus attribute management into two distinct parts: volume-level metadata management (handling generation indicators for relocation) and file-level metadata management (handling actual antivirus attributes). This segmentation simplifies the overall complexity by dividing the tracking responsibility into manageable, independent components.
Solution Approach 2:
The generation indicator acts as an intermediary between volume-level and file-level metadata. It mediates the relocation process by providing a simple mechanism to track volume changes without requiring complex algorithms to track individual file attribute updates, thus maintaining consistency with reduced complexity.
Data Source
AI summary
A volume metadata manager manages volume metadata including antivirus attributes. When a volume is to be relocated, the volume metadata manager updates a generation indicator in volume-level metadata for the volume but does not update a generation indicator in file-level metadata for a file in the volume. After the volume is relocated, the volume metadata manager updates the generation indicator and antivirus attributes of the file when the file is requested for access.


