Storage Node Mode Adjustment During BBU Failure
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current storage clusters experience degraded IO performance and reduced availability when a BBU fails, as nodes switch to maintenance or write-through modes, leading to potential data loss and inconsistency between user and parity data.
Innovation Solution
A node mode adjustment method that monitors BBU states and maintains nodes in write-back mode when a BBU fails if the peer node's BBU is operational and the cluster is not degraded, ensuring data consistency and high availability without degrading IO performance.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a node switches to maintenance mode when BBU fails, then data security is protected, but IO performance is degraded and availability is reduced
Solution Approach 1:
The patent implements dynamic mode adjustment for storage nodes based on real-time BBU status monitoring. When a BBU fails, the system dynamically evaluates whether to switch the affected node to maintenance mode or keep it in write-back mode by checking peer node BBU status and cluster degradation state. This dynamic decision-making process allows the system to adapt its reliability measures to actual conditions, avoiding unnecessary performance degradation while maintaining data security when possible.
2Reliability
If a node switches to write-through mode when peer node BBU fails, then data consistency is maintained, but IO performance is degraded
Solution Approach 1:
The patent employs a cost-effective strategy by conditionally maintaining nodes in write-back mode without requiring expensive additional hardware or complex mechanisms. The system uses existing cluster resources and simple status checks to determine when write-back mode can be safely maintained, effectively using low-cost monitoring and decision logic to avoid performance degradation while ensuring data consistency only when absolutely necessary.
3Reliability
If BBU is bound to each node individually, then reliability is improved, but system complexity increases when handling BBU failures
Solution Approach 1:
The patent implements a feedback mechanism where the monitoring module continuously tracks BBU status of all nodes, and this status information feeds into the mode adjustment module. The system uses this feedback to automatically determine appropriate node modes without requiring complex manual intervention or sophisticated failure handling procedures. The feedback loop simplifies the overall system response to BBU failures by making the decision process automated and rule-based.
Data Source
AI summary
A node mode adjustment method for when a storage cluster BBU fails and related component. The storage cluster comprises multiple IO GROUPs; each IO GROUP comprises two nodes, and each node is connected to a corresponding BBU of the node. The method comprises: monitoring the status of each BBU in the storage cluster; after detecting that any one BBU has failed, when it is determined that the BBU connected to the peer node of the node to which the failed BBU is connected has not failed, and it is determined that the storage cluster is not downgraded, maintaining in a write-back mode the node connected to the BBU detected to have failed and the peer node of said node. Applying the solution of the present application will help to ensure that the storage cluster has the advantages of high availability and high IO performance.


