Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix lease management with flightcontrol #4529

Merged
merged 1 commit into from
Jan 29, 2024

Commits on Jan 9, 2024

  1. fix lease management with flightcontrol

    When one flightcontrol callback gets canceled
    ctx.Value() stops working for aquiring leases for
    remaining callbacks. While this behavior should be
    also looked at more carefully, returning a lease for
    the first callback or for remaining callback would not
    be correct as some objects can be tracked by first lease
    and that lease could be already deleted by the first
    callpath.
    
    This fixes it so that any object tracked by flightcontrol
    callback will be copied to the lease of every codepath
    after the callback has returned.
    
    Signed-off-by: Tonis Tiigi <[email protected]>
    tonistiigi committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    4339ee5 View commit details
    Browse the repository at this point in the history