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

add more logs around unsupported version for consistent query #5287

Merged
merged 2 commits into from May 12, 2023

Conversation

allenchen2244
Copy link
Contributor

What changed?
Add some more logs since this is happening and we don't have any idea why.

Why?
Try and get to bottom of this issue.

How did you test it?
Unit test pass

Potential risks
nothing

@@ -730,6 +730,8 @@ func (handler *handlerImpl) handleBufferedQueries(
buffered := queryRegistry.GetBufferedIDs()
handler.logger.Info(
"failing query because worker does not support consistent query",
tag.Dynamic("clientImpl", clientImpl),
tag.Dynamic("clientFeatureVersion", clientFeatureVersion),
Copy link
Contributor

Choose a reason for hiding this comment

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

did you want to make this a proper tag maybe? also I think we use kebab-case with logs client-feature-version maybe a string tag?

@allenchen2244 allenchen2244 enabled auto-merge (squash) May 12, 2023 19:22
@coveralls
Copy link

Pull Request Test Coverage Report for Build 01881166-0419-4c52-8d63-8cc731ec0594

  • 2 of 8 (25.0%) changed or added relevant lines in 2 files are covered.
  • 104 unchanged lines in 21 files lost coverage.
  • Overall coverage decreased (-0.02%) to 57.244%

Changes Missing Coverage Covered Lines Changed/Added Lines %
common/log/tag/tags.go 0 6 0.0%
Files with Coverage Reduction New Missed Lines %
common/task/weightedRoundRobinTaskScheduler.go 1 89.64%
client/history/client.go 2 38.1%
client/history/metricClient.go 2 45.3%
common/peerprovider/ringpopprovider/config.go 2 81.58%
common/persistence/nosql/nosqlplugin/cassandra/tasks.go 2 75.57%
service/history/handler.go 2 47.15%
service/matching/matcher.go 2 89.57%
common/log/tag/tags.go 3 50.5%
common/persistence/nosql/nosqlplugin/cassandra/workflow.go 3 59.1%
common/persistence/nosql/nosqlTaskStore.go 3 61.07%
Totals Coverage Status
Change from base Build 01880d9e-efb5-4012-a92f-57edcc8c25b4: -0.02%
Covered Lines: 86917
Relevant Lines: 151837

💛 - Coveralls

@allenchen2244 allenchen2244 merged commit c98f723 into master May 12, 2023
16 checks passed
@allenchen2244 allenchen2244 deleted the cdnc-4709 branch May 12, 2023 19:41
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.

None yet

3 participants