-
Notifications
You must be signed in to change notification settings - Fork 801
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
Ignore requests send from pinot response comparator #5788
Conversation
@@ -329,11 +329,16 @@ type userParameters struct { | |||
|
|||
// For Pinot Migration uses. It will be a temporary usage | |||
// logUserQueryParameters will log user queries' parameters so that a comparator workflow can consume | |||
func (v *pinotVisibilityTripleManager) logUserQueryParameters(userParam userParameters, domain string) { | |||
func (v *pinotVisibilityTripleManager) logUserQueryParameters(userParam userParameters, domain string, override bool) { | |||
// Don't log if it is not enabled | |||
if !v.logCustomerQueryParameter(domain) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can combine this with override check if !v.logCustomerQueryParameter(domain) || override {}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. I was thinking to make it more readable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one nit comment, otherwise lgtm
Codecov Report
Additional details and impacted files
... and 5 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Pull Request Test Coverage Report for Build 018e3ef5-a875-4e94-a872-25a78e48b097Details
💛 - Coveralls |
What changed?
Ignored the requests sent from Pinot Response Comparator
Why?
If we don't ignore, we will have duplicated data.
How did you test it?
Potential risks
Release notes
Documentation Changes