Skip to content

Conversation

@yma955
Copy link
Member

@yma955 yma955 commented Jan 7, 2025

No description provided.

@yma955 yma955 requested review from ligangty and sswguo January 7, 2025 09:28
@yma955
Copy link
Member Author

yma955 commented Jan 7, 2025

@sswguo, @ligangty please help to review, then I'll prepare the tag for PNC on devel.

publishTrackingEvent( path, id );
return Uni.createFrom().item( builder.build() );
Uni<Boolean> checksumValidation =
proxyService.validateChecksum( id, packageType, type, name, path, request );
Copy link
Member

Choose a reason for hiding this comment

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

Does this mean there will be an individual request for each checksum ? can we make the folo records into the archive, and verify the checksum against that, to avoid the request to indy. Just an idea, not sure if that is possible.

Copy link
Member Author

@yma955 yma955 Jan 8, 2025

Choose a reason for hiding this comment

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

Hi, @sswguo
Local checksums will read the historical unpack payload directly, so cost would be small, and for remote checksums, will only download the necessary one(s) which local also owns, once validation is done, no other checksums will be downloaded.
For the folo record you suggest, I'm not sure if it will be retrieved before build is coming to end, since this happens at the progress of one build, and report should be still sealed in progress, the folo requests here should be direct to content requests with the corresponding content path, I'm afraid it will not have a better way than this since we need to know the new latest version of content. Corrent me if I'm wrong on this if we have a way to get the whole report on the current progress build.

Copy link
Member Author

@yma955 yma955 Jan 8, 2025

Choose a reason for hiding this comment

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

@sswguo This is a way to align the version between sidecar(local downloads) and Indy content retrieving, for the archive contents alignment with the current folo record of the finished build, it had some way done from Archive service. From https://issues.redhat.com/browse/MMENG-4251 description, we could know it's not aligned, but not sure misalignment on which service, so it would be safe both would be fixed.

Copy link
Member

Choose a reason for hiding this comment

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

@yma96 thanks for the explanation, looks good for me. ; -)

@yma955 yma955 merged commit 911607b into Commonjava:2.0.x Jan 8, 2025
1 check passed
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.

2 participants