[etcd3gw] Expired membership lease will be refreshed forever
Bug #1975524 reported by
Mitya Eremeev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tooz |
Fix Released
|
Undecided
|
Mitya Eremeev |
Bug Description
For some reason membership lease can expire despite refresh method tries to keep alive it.
Refresh method tries to refresh expired lease forever.
It's reasonable to check if a lease is expired and get new membership lease.
Changed in python-tooz: | |
assignee: | nobody → Mitya Eremeev (mitos) |
status: | New → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/c/openstack /tooz/+ /843017 /opendev. org/openstack/ tooz/commit/ ae5adcf3874d3ab 40a8f6c475b450e 72a75f5d23
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit ae5adcf3874d3ab 40a8f6c475b450e 72a75f5d23
Author: Mitya_Eremeev <email address hidden>
Date: Mon May 23 21:53:01 2022 +0300
[etcd3gw] create new lease if expired.
It can happen membership lease can be expired
to the moment of lease refreshing.
In this case heartbeat will try to refresh
expired lease forever without success.
The patch checks if lease expired and create new one.
Closes-Bug: 1975524 /review. opendev. org/c/openstack /etcd3gw/ +/843003 3f0a51f059640e6 41dd9853ff2
Depends-On: https:/
Change-Id: I5017724fd0134f