Backup Group Leader Role Query Mechanism
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In computing clusters, the loss of communication between devices can lead to a 'split brain' scenario where multiple devices claim to be the group leader, causing divergent authoritative views and potential service disruptions, as backup group leaders mistakenly assume the role when the primary leader has not failed completely.
Innovation Solution
A computing device acts as a backup group leader, using a first communication protocol (like ICMP) to detect loss of communication and a second protocol (like mDNS) to verify the primary leader's status, avoiding role assumption if the leader is still operational, and only assuming the role if no response is received within a threshold time.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If the backup group leader assumes the role immediately upon detecting communication loss via the first protocol, then service continuity is improved, but the risk of split brain increases
Solution Approach 1:
The system performs preliminary verification using a second communication protocol before the backup group leader assumes the role. This preliminary action checks whether the primary group leader is truly unavailable, preventing premature role assumption and avoiding split brain scenarios while still enabling quick failover when necessary.
2Reliability
If the backup group leader verifies leader status using a second communication protocol, then split brain is prevented, but response time increases
Solution Approach 1:
The second communication protocol acts as an intermediary verification mechanism. It provides an additional channel to confirm the primary leader's status without being the primary failover path. This intermediary check ensures reliability by preventing split brain while maintaining acceptable response times through efficient protocol design.
Data Source
AI summary
Examples include group leader role queries. Examples include detection of a loss of communication, via a first communication protocol, between first and second computing devices, transmission, via a second communication protocol, of a query for information about the second computing device currently having the group leader role. Examples further include a determine not to assume the group leader role with the first computing device based on receiving a response to the query via the second communication protocol from the second computing device.


