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

Fix for FileCache::put() error messages that should be info messages #950

Merged
merged 2 commits into from
Aug 5, 2024

Conversation

jgallagher59701
Copy link
Member

No description provided.

I changed the message for FileCache::put so that when two
put calls collide, but only one adds the given key, there
is an IFO message written and not an error. The cache is
working correctly - the items is added only once - and
changing the caller to eliminate this for the small number
of cases where it happens would be worse than just letting
it happen. In one sample, this happened 265 times in 22392
calls to put (1.2%)
Copy link

sonarcloud bot commented Jun 27, 2024

Copy link

sonarcloud bot commented Jun 27, 2024

Copy link

sonarcloud bot commented Jun 27, 2024

Copy link
Contributor

@dh-opendap dh-opendap left a comment

Choose a reason for hiding this comment

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

Looks good.

@jgallagher59701 jgallagher59701 merged commit b6c206e into master Aug 5, 2024
2 checks passed
@jgallagher59701 jgallagher59701 deleted the put-error-to-info branch August 5, 2024 21:04
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