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

feat: Remove the need of setting allow_anonymous #14398

Merged
merged 4 commits into from Jan 22, 2024

Conversation

Xuanwo
Copy link
Member

@Xuanwo Xuanwo commented Jan 22, 2024

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

This PR will remove the need to set allow_anonymous. Make it much simple to access public bucket.

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Breaking Change (fix or feature that could cause existing functionality not to work as expected)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

This change is Reviewable

Signed-off-by: Xuanwo <github@xuanwo.io>
@github-actions github-actions bot added the pr-feature this PR introduces a new feature to the codebase label Jan 22, 2024
@Xuanwo
Copy link
Member Author

Xuanwo commented Jan 22, 2024

cc @soyeric128, we don't need to set allow_anonymous for public bucket anymore.

Copy link
Member

@drmingdrmer drmingdrmer left a comment

Choose a reason for hiding this comment

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

A test should still be added to ensure future version of query can read protobuf message of this version.

Reviewed 10 of 12 files at r1, all commit messages.
Reviewable status: 10 of 12 files reviewed, all discussions resolved

Signed-off-by: Xuanwo <github@xuanwo.io>
Copy link
Member

@drmingdrmer drmingdrmer left a comment

Choose a reason for hiding this comment

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

LGTM!

Reviewed 2 of 12 files at r1, 5 of 5 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @Xuanwo)

@Xuanwo Xuanwo requested a review from BohuTANG January 22, 2024 02:48
@BohuTANG
Copy link
Member

Uni test failed:
-| 'storage' | 's3.allow_anonymous' | 'false' | '' |

Signed-off-by: Xuanwo <github@xuanwo.io>
@BohuTANG BohuTANG merged commit 61e747e into datafuselabs:main Jan 22, 2024
71 of 72 checks passed
yufan022 pushed a commit to yufan022/databend that referenced this pull request Feb 2, 2024
* feat: Remove the need of setting allow_anonymous

Signed-off-by: Xuanwo <github@xuanwo.io>

* Add test

Signed-off-by: Xuanwo <github@xuanwo.io>

* Fix test

Signed-off-by: Xuanwo <github@xuanwo.io>

---------

Signed-off-by: Xuanwo <github@xuanwo.io>
yufan022 added a commit to yufan022/databend that referenced this pull request Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-feature this PR introduces a new feature to the codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants