[MDEV-23662] S3 Storage Engine should allow to specify port to connect to. Created: 2020-09-03 Updated: 2022-06-05 Resolved: 2020-09-08 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - S3 |
| Fix Version/s: | 10.5.7 |
| Type: | Task | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
S3 Storage engine should allow to specify which port to connect to. This will make it easy to connect to e.g. minio, which is using port 9000 by default (See |
| Comments |
| Comment by Sergei Petrunia [ 2020-09-03 ] | ||||||||||
|
The S3 Storage engine part: | ||||||||||
| Comment by Sergei Petrunia [ 2020-09-03 ] | ||||||||||
|
danblack would you be able to review this? | ||||||||||
| Comment by Daniel Black [ 2020-09-04 ] | ||||||||||
|
Done. minor changes pushed to S3 tree. libmarias3 looks good. Optional enhancements: Do you think detecting minio and mc in the path along should start minio from the test suite?
Thanks for writing it psergey. | ||||||||||
| Comment by Sergei Petrunia [ 2020-09-05 ] | ||||||||||
|
Ok, got approval for https://github.com/mariadb-corporation/libmarias3/pull/91 . | ||||||||||
| Comment by Sergei Petrunia [ 2020-09-05 ] | ||||||||||
|
With the patch, I have these tests fail (both on Minio and S3)
| ||||||||||
| Comment by Sergei Petrunia [ 2020-09-05 ] | ||||||||||
|
bb-10.5-mdev23662 | ||||||||||
| Comment by Sergei Petrunia [ 2020-09-08 ] | ||||||||||
|
danblack, re starting Minio - I think starting/stopping minio is a good next step. We could also add logic to detect if it's present and/or get AWS credentials from the environment (or somewhere else?). Need to discuss this with those who run the CI systems. | ||||||||||
| Comment by Sergei Petrunia [ 2020-09-08 ] | ||||||||||
|
Pushed what we've had into 10.5 |