Skip to content

Fix: fencer: Disable watchdog-based self-fencing if "fencing-watchdog-timeout" is unset#4067

Open
gao-yan wants to merge 1 commit intoClusterLabs:mainfrom
gao-yan:fencing-watchdog-timeout-unset
Open

Fix: fencer: Disable watchdog-based self-fencing if "fencing-watchdog-timeout" is unset#4067
gao-yan wants to merge 1 commit intoClusterLabs:mainfrom
gao-yan:fencing-watchdog-timeout-unset

Conversation

@gao-yan
Copy link
Member

@gao-yan gao-yan commented Mar 10, 2026

This fixes a regression introduced by 215ad4f, which has not made it into any release.

…-timeout" is unset

This fixes a regression introduced by 215ad4f, which has not made it
into any release.
@wenningerk
Copy link
Contributor

Ok, we aren't running multi-threaded in general but do we want to introduce such a pattern - reset global just to set it to the correct value later?

@gao-yan
Copy link
Member Author

gao-yan commented Mar 11, 2026

It basically is the default value for all the early returns in below.

@gao-yan
Copy link
Member Author

gao-yan commented Mar 11, 2026

But of course we could either do it for each of the early returns if it feels safer that way :-)

@wenningerk
Copy link
Contributor

Well early returns are basically not the best choice if you want to change something global with each return.

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.

2 participants