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

release-21.1: filetable: fix NPE when an empty file is downloaded from userfile #65886

Merged
merged 1 commit into from
May 31, 2021

Conversation

adityamaru
Copy link
Contributor

Backport 1/1 commits from #63467.

/cc @cockroachdb/release


Fixes: #62605

Release note: None

This change ensures that a file with a metadata entry but no payload
does not throw an exception when attempting to compute the size of the
file (which will be zero).

Fixes: cockroachdb#62605

Release note: None
@adityamaru adityamaru requested a review from pbardea May 31, 2021 00:24
@adityamaru adityamaru requested a review from a team as a code owner May 31, 2021 00:24
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@adityamaru adityamaru merged commit 8afc615 into cockroachdb:release-21.1 May 31, 2021
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.

3 participants