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

Clear the metadata cache when setting FORCE_CHECKSUM_AND_WRITE #2481

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

sswguo
Copy link
Member

@sswguo sswguo commented Nov 20, 2024

Fixing the issue that md5 files not in the static group, ref: https://issues.redhat.com/browse/MMENG-4250

When we publish FileEvent via Kafka, we need to calculate the checksum, but that picks CALCULATE_NO_WRITE, which means there is no checksum files generated at all, and the info is cached. Then when user request the checksum files, it says it exists as the cache value but actually there is no file in storage, which cause the failure as the jira issue mentioned:

Message: Path io/dropwizard/metrics/metrics-jmx/4.2.28/metrics-jmx-4.2.28.jar.md5 is not available in store

@sswguo sswguo requested review from ligangty and ruhan1 November 20, 2024 09:09
Copy link
Contributor

@ruhan1 ruhan1 left a comment

Choose a reason for hiding this comment

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

LGTM

@sswguo sswguo merged commit 7c84ffb into Commonjava:master Nov 26, 2024
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