yuwaMSFT2

Results issues of yuwaMSFT2

When get manifest, the handler will try to retrieve it from storage driver. When storage driver is cloud storage, it can fail due to various reasons even if the manifest...

Noticed that when push a new repository to the registry, even if a referenced layer image exists, client always upload. Only in the final commit, the registry will check if...

Current version of Azure Storage SDK implements buildCanonicalizedHeader with unnecessary regex operation: https://github.com/docker/distribution/blob/master/vendor/github.com/Azure/azure-sdk-for-go/storage/client.go#L269-L273 In our test it took about 9% CPU by itself, not to say GC pressure. ![buildcanonicalizedstring-regex](https://cloud.githubusercontent.com/assets/23645697/24280618/2991acc2-100f-11e7-9bc0-36e1f097efd7.jpg) TOP...

This is with 100 clients requesting a 500 bytes manifest (each client keeps requesting with 1s delay in between): CPU usage was about 83%, while about 78% CPU was on...

The Accept header is processed case sensitively when user requests for manifest. So the following is not matching to manifest v2. Accept: Application/vnd.docker.distribution.manifest.v2+json But according to spec, media type should...

help wanted
priority/P2

By default, the NameRegexp in various routes represents the repository name. For example: https://github.com/docker/distribution/blob/master/registry/api/v2/descriptors.go#L944 NameRegexp is defined as: ` NameRegexp = expression( optional(DomainRegexp, literal(`/`)), nameComponentRegexp, optional(repeated(literal(`/`), nameComponentRegexp))) ` Here the...

In the following func in storage client: func (c Client) exec(verb, url string, headers map[string]string, body io.Reader, auth authentication) (*storageResponse, error) line 361, when the parsing the response to ServiceError...

In C# client, we put a metadata "name=key". In Go, we could query the metadata "name=key". Now if we can SetBlobMetadata with the same metadata, the metadata on the blob...

We are using PermissionsClient to talk to ARM. However if the request fails due to: 1. connection timeout 2. connection being reset by remote 3. Other cases before client receive...