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

remove the need for a link file when starting the frontend_server in resident mode #49706

Closed
michaelRichards99 opened this issue Aug 18, 2022 · 0 comments
Labels
area-dart-cli Use area-dart-cli for issues related to the 'dart' command like tool. front-end-server Issues with the frontend server

Comments

@michaelRichards99
Copy link
Contributor

In order to solve a race condition when concurrent Resident Frontend Server processes are trying to start up and both point to the same info file, the code currently creates a link file. Link files are exclusive, so only 1 process is able to create it while the other gets an exception and terminates. A Link is used because File does not currently have support for creating in exclusive mode.

This issue will add the ability for a file to be created with an exclusive flag. When this issue is completed, the Link file can be dropped from the frontend_server.

@michaelRichards99 michaelRichards99 added the front-end-server Issues with the frontend server label Aug 18, 2022
@a-siva a-siva added the area-dart-cli Use area-dart-cli for issues related to the 'dart' command like tool. label Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-dart-cli Use area-dart-cli for issues related to the 'dart' command like tool. front-end-server Issues with the frontend server
Projects
None yet
Development

No branches or pull requests

2 participants