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

cleaning up the reflectorwatcher logging #2993

Merged
merged 4 commits into from
Apr 21, 2021

Conversation

shawkins
Copy link
Contributor

Description

Fix for #2991 - event received logged at too high of a level.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • Code contributed by me aligns with current project license: Apache 2.0
  • I Added CHANGELOG entry regarding this change

@centos-ci
Copy link

Can one of the admins verify this patch?

@rohanKanojia
Copy link
Member

@shawkins : Shall we move this to debug as well?

@shawkins
Copy link
Contributor Author

@rohanKanojia normal close seems infrequent enough to be at the info level, but I'm fine at a debug as well.

@rohanKanojia
Copy link
Member

ohk, let's keep it as it is then.

@rohanKanojia rohanKanojia requested review from oscerd and manusa April 14, 2021 14:55
@shawkins shawkins changed the title changing the event received log to debug changing the event received log to trace Apr 15, 2021
@shawkins shawkins changed the title changing the event received log to trace cleaning up the reflectorwatcher logging Apr 16, 2021
shawkins added a commit to shawkins/kubernetes-client that referenced this pull request Apr 17, 2021
also moves the responsibility for the lastResourceVersion to the
DeltaFIFO - having it updatable outside the DeltaFIFO lock is dangerous

this does not include the changes for fabric8io#2993 nor fabric8io#2995
shawkins added a commit to shawkins/kubernetes-client that referenced this pull request Apr 17, 2021
also moves the responsibility for the lastResourceVersion to the
DeltaFIFO - having it updatable outside the DeltaFIFO lock is dangerous

this does not include the changes for fabric8io#2993 nor fabric8io#2995
Copy link
Member

@manusa manusa left a comment

Choose a reason for hiding this comment

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

LGTM, thx!

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@manusa manusa merged commit 7a95e59 into fabric8io:master Apr 21, 2021
@shawkins shawkins deleted the reflector-log branch April 21, 2021 21:49
@shawkins
Copy link
Contributor Author

@rohanKanojia is it possible to get this in 5.3.1?

@manusa
Copy link
Member

manusa commented May 5, 2021

Relates to: #2010

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.

6 participants