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

Upgrade Qingstor SDK and support private region #1303

Merged
merged 1 commit into from Jan 17, 2022
Merged

Upgrade Qingstor SDK and support private region #1303

merged 1 commit into from Jan 17, 2022

Conversation

zhijian-pro
Copy link
Contributor

No description provided.

@zhijian-pro zhijian-pro linked an issue Jan 17, 2022 that may be closed by this pull request
@codecov-commenter
Copy link

Codecov Report

Merging #1303 (5df8746) into main (8f95046) will increase coverage by 0.07%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1303      +/-   ##
==========================================
+ Coverage   59.32%   59.39%   +0.07%     
==========================================
  Files         126      126              
  Lines       21466    21470       +4     
==========================================
+ Hits        12734    12752      +18     
+ Misses       7201     7186      -15     
- Partials     1531     1532       +1     
Impacted Files Coverage Δ
pkg/object/qingstor.go 1.14% <0.00%> (-0.03%) ⬇️
pkg/meta/sql_lock.go 72.84% <0.00%> (-2.65%) ⬇️
pkg/meta/sql.go 67.91% <0.00%> (+0.25%) ⬆️
pkg/chunk/disk_cache.go 81.17% <0.00%> (+0.76%) ⬆️
pkg/chunk/cached_store.go 72.90% <0.00%> (+2.44%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8f95046...5df8746. Read the comment docs.

@zhijian-pro zhijian-pro marked this pull request as ready for review January 17, 2022 10:47
bucketName, zone, host = hostParts[0], "", hostParts[1]
} else {
hostParts := strings.SplitN(uri.Host, ".", 3)
bucketName, zone, host = hostParts[0], hostParts[1], hostParts[2]
Copy link
Contributor

Choose a reason for hiding this comment

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

Should the zone be part of host? Please add an example here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is old logic and has not changed.

endpoint="http://zhjijian-test.sh1a.qingstor.com"

image

image

The zone is indeed part of the host.

Copy link
Contributor

Choose a reason for hiding this comment

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

I meant the host should be sh1a.qingstor.com, not qingstor.com, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

host does not include region doc

image

@davies davies changed the title qingstor support private cloud and replace the sdk repository Upgrade Qingstor SDK and Support private region Jan 17, 2022
@davies davies changed the title Upgrade Qingstor SDK and Support private region Upgrade Qingstor SDK and support private region Jan 17, 2022
@davies davies merged commit a67e866 into juicedata:main Jan 17, 2022
@zhijian-pro zhijian-pro deleted the qingstor_support_private_cloud branch January 28, 2022 01:16
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.

Support Amazon S3 compatible storage
3 participants