Skip to content

Conversation

@aversecat
Copy link
Contributor

The old mounted check only considered begin/end quorum data, and not whether the old leader that is now disconnected was fenced by a new quorum leader.

Since this is the quaranteed case if the leader is disconnected forcefully, this check must account for this case, so that quorum slots can be modified if the node is permanently removed or replaced.

Normally, remounting from the fenced node should clear this. But that may be unwanted, due to e.g. equipment failure, data collection, or otherwise.

@aversecat aversecat force-pushed the auke/utils_check_mounted_quorum_fenced branch from 08522e5 to 9da6eff Compare October 22, 2025 18:23
@zabbo
Copy link
Collaborator

zabbo commented Oct 23, 2025

This needs work. +funcs/exec.sh: line 60: 29153 Segmentation fault (core dumped) "$@" >> "$T_TMP.rc.log" 2>&1

@aversecat aversecat force-pushed the auke/utils_check_mounted_quorum_fenced branch from 9da6eff to 115ddb4 Compare October 23, 2025 19:04
@aversecat
Copy link
Contributor Author

hmmm double free. reworking...

@aversecat aversecat force-pushed the auke/utils_check_mounted_quorum_fenced branch from 115ddb4 to a410ae8 Compare October 31, 2025 16:22
@aversecat aversecat force-pushed the auke/utils_check_mounted_quorum_fenced branch 2 times, most recently from ff0eacb to 5863e67 Compare November 20, 2025 18:24
@aversecat aversecat force-pushed the auke/utils_check_mounted_quorum_fenced branch from 5863e67 to e6501c7 Compare December 5, 2025 19:13
The old mounted check only considered begin/end quorum data, and
not whether the old leader that is now disconnected was fenced by
a new quorum leader.

Since this is the quaranteed case if the leader is disconnected
forcefully, this check must account for this case, so that quorum slots
can be modified if the node is permanently removed or replaced.

Signed-off-by: Auke Kok <auke.kok@versity.com>
@aversecat aversecat force-pushed the auke/utils_check_mounted_quorum_fenced branch from e6501c7 to a87e92c Compare December 5, 2025 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants