Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Check for name surrogates when deleting reparse points - #28124

Merged
JeremyKuhne merged 1 commit into
dotnet:masterfrom
JeremyKuhne:delsurrogate
Mar 16, 2018
Merged

JeremyKuhne merged 1 commit into
dotnet:masterfrom
JeremyKuhne:delsurrogate

Conversation

@JeremyKuhne

Copy link
Copy Markdown
Member

Name surrogates are the only type of reparse points that we should be simply detaching.
All other reparse points we should be drilling into- this was causing issues for OneDrive
cloud files.

Fixes #24250

cc: @CAllredMSFT, @pjanotti, @maryamariyan, @danmosemsft

Note that I don't have a way to write an automated test for this yet. I'm looking into that. I've manually tested against my personal OneDrive folder to validate the behavior.

Name surrogates are the only type of reparse points that we should be simply detaching.
All other reparse points we should be drilling into- this was causing issues for OneDrive
cloud files.
@JeremyKuhne JeremyKuhne added this to the 2.1.0 milestone Mar 16, 2018
@JeremyKuhne JeremyKuhne self-assigned this Mar 16, 2018
@JeremyKuhne

Copy link
Copy Markdown
Member Author

OSX failure is #28116

@cgallred

Copy link
Copy Markdown

Looks good to me.

@pjanotti pjanotti left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JeremyKuhne

Copy link
Copy Markdown
Member Author

@dotnet/dncenghot Windows x86 Release builds all appear to be failing, this is what I'm seeing:

[Pipeline] [Windows.81.Amd64.Open] httpRequest
13:22:02 [Windows.81.Amd64.Open] HttpMethod: GET
13:22:02 [Windows.81.Amd64.Open] URL: https://helix.dot.net/api/2017-04-14/aggregate/jobs?groupBy=job.name&maxResultSets=1&filter.name=a99afee6-4c4d-4054-8d9e-7f2e35479635
13:22:02 [Windows.81.Amd64.Open] Sending request to url: https://helix.dot.net/api/2017-04-14/aggregate/jobs?groupBy=job.name&maxResultSets=1&filter.name=a99afee6-4c4d-4054-8d9e-7f2e35479635
13:22:02 [Windows.81.Amd64.Open] Response Code: HTTP/1.1 200 OK
13:22:02 [Windows.81.Amd64.Open] Response: 
13:22:02 [Windows.81.Amd64.Open] [{"Key":{"job.name":"a99afee6-4c4d-4054-8d9e-7f2e35479635"},"Data":{"Analysis":[{"Name":"xunit","Status":{"pass":0,"fail":0,"skip":0}}],"WorkItemStatus":{"pass":1,"none":251}}}]
13:22:02 [Windows.81.Amd64.Open] Success code from [100‥399]
[Pipeline] [Windows.81.Amd64.Open] echo
13:22:02 [Windows.81.Amd64.Open] Info: Processing XUnit Results: 251 remaining
[Pipeline] [Windows.81.Amd64.Open] }
13:22:03 [Windows.81.Amd64.Open] Will try again after 5 min 0 sec

@MattGal

MattGal commented Mar 16, 2018 •

Copy link
Copy Markdown
Member

@JeremyKuhne our processing depends on Azure storage which is having some trouble right now:
https://app.azure.com//h/0HVW-G08/069117

The @dotnet/dnceng FR team is on it but not much we can do when Azure is having issues.

@JeremyKuhne

Copy link
Copy Markdown
Member Author

@MattGal thanks for the update :)

@JeremyKuhne
JeremyKuhne merged commit 4ea280e into dotnet:master Mar 16, 2018
@JeremyKuhne
JeremyKuhne deleted the delsurrogate branch March 16, 2018 21:53
ericstj pushed a commit to ericstj/corefx that referenced this pull request Mar 28, 2018
Name surrogates are the only type of reparse points that we should be simply detaching.
All other reparse points we should be drilling into- this was causing issues for OneDrive
cloud files.
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
…#28124)

Name surrogates are the only type of reparse points that we should be simply detaching.
All other reparse points we should be drilling into- this was causing issues for OneDrive
cloud files.

Commit migrated from dotnet/corefx@4ea280e
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants