Storage Node Data Synchronization via Response Monitoring
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In storage systems with multiple nodes, network failures can lead to data inconsistency between nodes during data writing, as the primary node may not receive a response from the secondary node, causing it to incorrectly assume data writing has failed, even if it has been successfully written.
Innovation Solution
The system design includes a processor that waits for a response from the secondary node before writing data to the primary node and initiates synchronization only when no response is received, ensuring data consistency by retrying synchronization after network recovery.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the primary node waits for a response from the secondary node before writing data, then data consistency is improved, but writing speed deteriorates due to the waiting time
Solution Approach 1:
The system performs preliminary synchronization by having the primary node send data to the secondary node before completing the write operation. This preliminary action ensures that if a failure occurs, the secondary node already has the updated data and can take over without data loss, thus maintaining data consistency while allowing the primary node to proceed with the write operation without waiting for confirmation.
2Productivity
If the primary node immediately retransmits data after a failed write attempt, then productivity is improved, but data consistency deteriorates due to potential data loss
Solution Approach 1:
The system implements a feedback mechanism where the primary node monitors whether the secondary node has successfully received and stored the data before considering the write operation complete. If the secondary node confirms receipt, the primary node proceeds; if not, the primary node retransmits the data. This feedback loop ensures data consistency is maintained while allowing efficient retransmission when necessary.
Data Source
AI summary
An information processing apparatus includes a first storage unit and a processor. The first storage unit includes a first storage area. The processor receives a first request to write first data into the first storage area. The processor requests an external apparatus to write the first data into a second storage area in a second storage unit included in the external apparatus. The processor determines whether a first response has been received from the external apparatus. The first response indicates that the first data has been written into the second storage area. The processor writes the first data into the first storage area when the first response has been received. The processor requests, without writing the first data into the first storage area, the external apparatus to write second data stored in the first storage area into the second storage area when the first response has not been received.


