-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Write SDK summary to a temp file and rename (#3740)
Avoid writing partial output to the file that could be concurrently read by another isolate in the same process. Create a temp directory to incrementally write the file, then use `rename` to atomically move it to the location where other isolates may try to read it. It's best to still avoid using the SDK summary from and analysis driver in multiple isolates, but this should reduce flakiness in some cases where they do run concurrently.
- Loading branch information
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters