Skip to content

Conversation

@cstamas
Copy link
Member

@cstamas cstamas commented May 2, 2021

https://issues.apache.org/jira/browse/MRESOLVER-153

Move out from ResolveTask the read/write of resolver-status.properties
file, perform those serially in caller thread context instead.

Move out from ResolveTask the read/write of resolver-status.properties
file, perform those serially in caller thread context instead.
@cstamas cstamas requested a review from michael-o May 2, 2021 11:23
@cstamas cstamas self-assigned this May 2, 2021
Copy link
Member

@michael-o michael-o left a comment

Choose a reason for hiding this comment

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

Testing this...
I think in the next step this can be rewritten like in DefaultArtifactResolver to get rid of double concurrency.

session.getLocalRepositoryManager().getPathForRemoteMetadata(
metadata, request.getRepository(), request.getRequestContext() ) );

metadataDownloading(
Copy link
Member

Choose a reason for hiding this comment

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

Maybe this could appear later, but doesn't really matter for the moment.

@asfgit asfgit closed this in 01ebbe5 May 4, 2021
asfgit pushed a commit that referenced this pull request May 4, 2021
…k to DefaultMetadataResolver

Move out from ResolveTask the read/write of resolver-status.properties
file, perform those serially in caller thread context instead.

This closes #104
@michael-o michael-o deleted the MRESOLVER-153-inline-resolvetask branch May 4, 2021 10:22
asfgit pushed a commit that referenced this pull request May 4, 2021
…k to DefaultMetadataResolver

Move out from ResolveTask the read/write of resolver-status.properties
file, perform those serially in caller thread context instead.

This closes #104
@jira-importer
Copy link

Resolve #925

1 similar comment
@jira-importer
Copy link

Resolve #925

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants