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.0] Fix stale trash dir not cleaned up on worker creation #21510

Merged
merged 1 commit into from
Feb 27, 2024

Commits on Feb 27, 2024

  1. Fix stale trash dir not cleaned up on worker creation

    The bug in Bazel is that ${output_base}/blaze-workers/_moved_trash_dir/ doesn't
    get wiped between blaze restarts. The directory to move to for asynchronous
    deletion is an incrementing AtomicInteger but after a restart it will be zero
    again. If there were previous directories there, we might get an error trying
    to replace a non-empty directory while renaming.
    
    RELNOTES:none
    PiperOrigin-RevId: 610323627
    Change-Id: I2d397fbd4590fa9f83273ac11d92d591bf9348b8
    oquenchil committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    1d76542 View commit details
    Browse the repository at this point in the history