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

[stable-3.12] avoid deadlock: cancel hydration requests coming from itself #6870

Merged
merged 1 commit into from
Jul 1, 2024

Commits on Jul 1, 2024

  1. avoid deadlock: cancel hydration requests coming from itself

    our current infrastructure will cause a deadlock for any hydration
    requests coming from desktop files client itself
    
    the main thread is responsible for executing the hydration request but
    if the same thread is already blocked waiting for the hydration to
    happen, both (open system call and hydration request handling) process
    will never be completed and wait for each over in a stuck cycle
    
    Signed-off-by: Matthieu Gallien <[email protected]>
    mgallien committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    ac5e6c7 View commit details
    Browse the repository at this point in the history