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

Log warning only when there is an error in SA size validation #3443

Merged

Conversation

rodrigozhou
Copy link
Contributor

@rodrigozhou rodrigozhou commented Sep 29, 2022

What changed?
Log error of search attributes map size validation only when there's an error.

Why?
Size validation of search attributes map is always logging error even when there's no error.

How did you test it?
Ran search attributes integration test before and after changes, and verified the logs are no longer showing up.

Potential risks
No.

Is hotfix candidate?
Yes.

@rodrigozhou rodrigozhou requested a review from a team as a code owner September 29, 2022 19:04
@alexshtin alexshtin changed the title Log error only when there is an error in SA size validation Log warning only when there is an error in SA size validation Sep 29, 2022
@rodrigozhou rodrigozhou merged commit 363d4c0 into temporalio:master Sep 29, 2022
@rodrigozhou rodrigozhou deleted the fix-log-sa-size-validation branch September 29, 2022 19:42
dnr pushed a commit that referenced this pull request Sep 29, 2022
Log error only when there is an error in SA size validation
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

2 participants