[etcd3gw] Expired membership lease will be refreshed forever

Bug #1975524 reported by Mitya Eremeev
6
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.

Mitya Eremeev (mitos)
Changed in python-tooz:
assignee: nobody → Mitya Eremeev (mitos)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tooz (master)

Reviewed: https://review.opendev.org/c/openstack/tooz/+/843017
Committed: https://opendev.org/openstack/tooz/commit/ae5adcf3874d3ab40a8f6c475b450e72a75f5d23
Submitter: "Zuul (22348)"
Branch: master

commit ae5adcf3874d3ab40a8f6c475b450e72a75f5d23
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
    Depends-On: https://review.opendev.org/c/openstack/etcd3gw/+/843003
    Change-Id: I5017724fd0134f3f0a51f059640e641dd9853ff2

Changed in python-tooz:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tooz 3.0.0

This issue was fixed in the openstack/tooz 3.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.