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

[7.1.1] Fix sandbox cleanup crashing after server restart #21733

Merged
merged 1 commit into from
Mar 19, 2024

Commits on Mar 19, 2024

  1. Fix sandbox cleanup crashing after server restart

    We try to clean up the sandbox base from previous server instances
    asynchronously, however sometimes this is not possible due to the old
    directories being in a different filesystem. This can happen with overlays on
    Docker after running bazel in different RUN commands. See
    bazelbuild#21719
    
    This change fixes the crash by catching the IOException and falling back to
    synchronous deletion.
    
    Fixes bazelbuild#21719.
    
    RELNOTES:none
    PiperOrigin-RevId: 617150522
    Change-Id: I82a07ac0ade66cfb1e5732a90a5f3ab4e2e8caa7
    oquenchil authored and bazel-io committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    4e5e884 View commit details
    Browse the repository at this point in the history