Skip to content
This repository was archived by the owner on Jul 26, 2020. It is now read-only.

The region of the server metabucket must be configurable #94

Open
aead opened this issue Jul 2, 2019 · 4 comments
Open

The region of the server metabucket must be configurable #94

aead opened this issue Jul 2, 2019 · 4 comments

Comments

@aead
Copy link
Member

aead commented Jul 2, 2019

Currently the region of the meta bucket of the server is not configurable. Therefore, you cannot start MinSQL with a server meta bucket that does not match the (somehow) hard-coded value in meta.rs

Anyway, name does not seem to be a "good" identifier for specifying the region - in general.

@harshavardhana
Copy link
Member

We should fetch this automatically using getBucketLocation there is no reason to enable this as configurable value.

@aead
Copy link
Member Author

aead commented Jul 2, 2019

I was not able to get this to work with e.g. play until I fixed the code locally. Kept failing with invalid region error returned from the S3 server...

@harshavardhana
Copy link
Member

That is because minio-rs still doesn't implement getBucketLocation I guess

@harshavardhana
Copy link
Member

You may be right we may need this configurable, since meta bucket is perhaps created automatically by MinSQL so a region param is needed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants