Skip to content
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

Parallel version updates #1207

Merged
merged 1 commit into from
Jan 3, 2025
Merged

Parallel version updates #1207

merged 1 commit into from
Jan 3, 2025

Conversation

andrzejj0
Copy link
Contributor

@andrzejj0 andrzejj0 commented Jan 1, 2025

This was actually suggested earlier for property updates.

Update retrieval (which is immutable) is split from update execution which made parallel updates feasible.

ConcurrentLinkedQueue is chosen as the structure for appending updates (it's being written to by multiple threads).

Introduced a new parameter, numThreads.

Also, bumped version to 2.19.0-SNAPSHOT

@andrzejj0 andrzejj0 added this to the 2.19.0 milestone Jan 1, 2025
@andrzejj0 andrzejj0 self-assigned this Jan 1, 2025
@andrzejj0 andrzejj0 force-pushed the parallel branch 2 times, most recently from 16961cc to bbe9b0a Compare January 1, 2025 15:58
/**
* Represents a version change of an artifact
*/
public abstract static class ArtifactVersionChange {
Copy link
Member

Choose a reason for hiding this comment

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

Should such class be public ... looks like can be use as private

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@andrzejj0 andrzejj0 merged commit a69f466 into mojohaus:master Jan 3, 2025
26 checks passed
@andrzejj0 andrzejj0 deleted the parallel branch January 3, 2025 18:34
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.

2 participants