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 SQL visibility page token deserializer #4074

Merged
merged 1 commit into from Mar 21, 2023

Conversation

rodrigozhou
Copy link
Contributor

What changed?
Check the page token is empty or not, instead of only checking if it's nil.

Why?
Bug (#4053) reported showed that the page token can be an empty slice.

How did you test it?
Added new unit tests, and checked the reported issue no longer happens.

Potential risks
No risks.

Is hotfix candidate?
No.

@rodrigozhou rodrigozhou merged commit 2af5bf4 into temporalio:master Mar 21, 2023
7 checks passed
@rodrigozhou rodrigozhou deleted the fix-sql-vis-page-token branch March 21, 2023 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] unexpected end of JSON input with latest CLI
2 participants