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

[TIEREDSTORAGE] Don't require both region and endpoint to be specified #5355

Merged
merged 1 commit into from
Oct 10, 2019

Conversation

ivankelly
Copy link
Contributor

There's a bug in how user metadata is attached to a block that if the
user doesn't specify both the region and the endpoint, offloading will
throw an exception, as you can't add a null value to an immutable
map.

This change elides null to the empty string in these cases, so that
offloading can continue.

There's a bug in how user metadata is attached to a block that if the
user doesn't specify both the region and the endpoint, offloading will
throw an exception, as you can't add a null value to an immutable
map.

This change elides null to the empty string in these cases, so that
offloading can continue.
@ivankelly ivankelly added type/bug The PR fixed a bug or issue reported a bug area/tieredstorage labels Oct 10, 2019
@ivankelly ivankelly self-assigned this Oct 10, 2019
@merlimat merlimat added this to the 2.4.2 milestone Oct 10, 2019
@merlimat merlimat merged commit 3e70d36 into apache:master Oct 10, 2019
@ivankelly ivankelly deleted the null-endpont branch October 10, 2019 15:26
wolfstudy pushed a commit that referenced this pull request Nov 20, 2019
#5355)

There's a bug in how user metadata is attached to a block that if the
user doesn't specify both the region and the endpoint, offloading will
throw an exception, as you can't add a null value to an immutable
map.

This change elides null to the empty string in these cases, so that
offloading can continue.

(cherry picked from commit 3e70d36)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tieredstorage type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants