Skip to content

Ensure we pass unique binlog paths to each BuildHost - #78599

Merged
jasonmalinowski merged 2 commits into
dotnet:mainfrom
jasonmalinowski:fix-binlog-locking
May 16, 2025
Merged

Ensure we pass unique binlog paths to each BuildHost#78599
jasonmalinowski merged 2 commits into
dotnet:mainfrom
jasonmalinowski:fix-binlog-locking

Conversation

@jasonmalinowski

@jasonmalinowski jasonmalinowski commented May 15, 2025

Copy link
Copy Markdown
Member

Otherwise if we launch multiple processes, they might step atop each other and cause locking issues.

@jasonmalinowski jasonmalinowski self-assigned this May 15, 2025
@jasonmalinowski
jasonmalinowski requested a review from a team as a code owner May 15, 2025 19:21
Comment thread src/Workspaces/MSBuild/Core/MSBuild/IBinLogPathProvider.cs
@jasonmalinowski
jasonmalinowski enabled auto-merge May 15, 2025 20:11
@RikkiGibson

Copy link
Copy Markdown
Member

@jasonmalinowski I am going to try to pull down your branch and start passing a binlog path, as I am concerned the lack of it is causing some diagnostics to be dropped.

@RikkiGibson

Copy link
Copy Markdown
Member

Did you manually test the change? I am still seeing a "cannot access because it is being used by another process" error.

@RikkiGibson
RikkiGibson disabled auto-merge May 15, 2025 20:46
@RikkiGibson

Copy link
Copy Markdown
Member

@jasonmalinowski I disabled auto merge just to first make sure the PR is doing what we expect.

@jasonmalinowski

Copy link
Copy Markdown
Member Author

Did you manually test the change? I am still seeing a "cannot access because it is being used by another process" error.

Actually no -- we know this could have been a cause but if there's more then that's interesting.

@RikkiGibson

Copy link
Copy Markdown
Member

I think this makes the situation better, but I have to keep investigating to get to the root of the issue. Feel free to merge when ready.

Otherwise if we launch multiple processes, they might step atop
each other and cause locking issues.
Somehow almost every line started with a UTF-8 BOM. This fixes it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants