-
Notifications
You must be signed in to change notification settings - Fork 144
GH-1737: Revert partially parallel upload change #1765
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
base: master
Are you sure you want to change the base?
Conversation
Revert partially (connector only) commit: 09c3fa9 Fixes apache#1737
kwin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good. But deserves an clarification in the documentation of https://maven.apache.org/resolver/configuration.html for aether.connector.basic.parallelPut.
| | `"aether.conflictResolver.versionSelector.selectionStrategy"` | `String` | The name of the version selection strategy to use in conflict resolution: "nearest" (default) or "highest". | `"nearest"` | 2.0.11 | No | Session Configuration | | ||
| | `"aether.connector.basic.downstreamThreads"` | `Integer` | Number of threads in basic connector for downloading. | `5` | 2.0.0 | Yes | Session Configuration | | ||
| | `"aether.connector.basic.parallelPut"` | `Boolean` | Enables or disables parallel PUT processing (parallel deploys) on basic connector globally or per remote repository. When disabled, connector behaves exactly as in Maven 3.8.x did: GETs are parallel while PUTs are sequential. | `true` | 1.9.5 | Yes | Session Configuration | | ||
| | `"aether.connector.basic.parallelPut"` | `Boolean` | Enables or disables parallel PUT processing (parallel deploys) on basic connector globally or per remote repository. When disabled, connector behaves exactly as in Maven 3.8.x did: GETs are parallel while PUTs are sequential. When enabled, connector will issue first PUT sequentially and the rest of PUTs in parallel. | `true` | 1.9.5 | Yes | Session Configuration | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| | `"aether.connector.basic.parallelPut"` | `Boolean` | Enables or disables parallel PUT processing (parallel deploys) on basic connector globally or per remote repository. When disabled, connector behaves exactly as in Maven 3.8.x did: GETs are parallel while PUTs are sequential. When enabled, connector will issue first PUT sequentially and the rest of PUTs in parallel. | `true` | 1.9.5 | Yes | Session Configuration | | |
| | `"aether.connector.basic.parallelPut"` | `Boolean` | Enables or disables parallel PUT processing (parallel deploys) on basic connector globally or per remote repository. When disabled, connector behaves exactly as in Maven 3.8.x did: GETs are parallel while PUTs are sequential. When enabled, connector will issue first PUT individually and only once completed the rest of PUTs in parallel. This is to make sure that receiving repository managers will be able to correctly prepare things like staging repos with the first request and associate the subsequent parallel ones to the first one. | `true` | 1.9.5 | Yes | Session Configuration | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kwin this is generated markdown from Javadoc (and we did not know better than to check in generated file). The source is in Javadoc of this file:
https://github.com/apache/maven-resolver/pull/1765/changes#diff-53426dfed2b513628c93a211ce19725fb3fc8512f02e2ac2f2a093d871481ef2
Revert partially (connector only) commit:
09c3fa9
Fixes #1737