You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 10, 2023. It is now read-only.
Fix DirectoryCleaner sometimes deleting buck-out/log/ subdirectories for the current run
Summary: After it decides it needs to delete stuff, `DirectoryCleaner` doesn't respect `LogFileHandler`'s minimum number of logs to keep setting. When log subdirectories become relatively large, e.g. 10MB when outputting verbose rulekey logs, even the log subdirectories for the current run can get deleted, leaving behind dangling `last_XXXcommand` symlinks. The fix is to consolidate the deletion check logic in one place.
Reviewed By: styurin
fbshipit-source-id: 8660a1b5f2
0 commit comments