This is an automated email from the git hooks/post-receive script.
teigland pushed a commit to branch master in repository sanlock.
commit 87038c493a9e8fda2805c855d179674ea2f43208 Author: David Teigland teigland@redhat.com AuthorDate: Tue Aug 20 11:32:38 2024 -0500
sanlock: fix is dead log message for unused host id
Remove log message "host ID GEN 0 is dead" for a host id lease that was released and not currently used. From "sanlock: fix time calculations for dead host" --- src/lockspace.c | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/src/lockspace.c b/src/lockspace.c index ef3336e..4cd8277 100644 --- a/src/lockspace.c +++ b/src/lockspace.c @@ -485,6 +485,12 @@ void check_other_leases(struct space *sp, char *buf) if (sp->host_id == hs->owner_id) continue;
+ /* + * Other host lease is released, not failing or dead. + */ + if (!hs->timestamp) + continue; + /* * Don't bother logging info about other host leases if * we are quitting/failing ourself.