Skip to content

Add support for rustfs test-containers#3679

Open
MonkeyCanCode wants to merge 1 commit intoapache:mainfrom
MonkeyCanCode:rustfs_test_containers
Open

Add support for rustfs test-containers#3679
MonkeyCanCode wants to merge 1 commit intoapache:mainfrom
MonkeyCanCode:rustfs_test_containers

Conversation

@MonkeyCanCode
Copy link
Contributor

This is follow up PR for #3663. As concluded in the reference PR, we would want to have both minio test-containers and rustfs test-containers co-existed and migrated NoSQL and Federation tests to RustFS.

Checklist

  • 🛡️ Don't disclose security issues! (contact security@apache.org)
  • 🔗 Clearly explained why the changes are needed, or linked related issues: Fixes #
  • 🧪 Added/updated tests with good coverage, or manually tested (and explained how)
  • 💡 Added comments for complex logic
  • 🧾 Updated CHANGELOG.md (if needed)
  • 📚 Updated documentation in site/content/in-dev/unreleased (if needed)

Copy link
Contributor

@dimas-b dimas-b left a comment

Choose a reason for hiding this comment

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

LGTM with a minor comment. Thanks, @MonkeyCanCode !

* Rustfs}.
*/
// CODE_COPIED_TO_POLARIS from Project Nessie 0.104.2
public interface RustfsAccess {
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if we could rename MinioAccess to S3Access and reuse it for RustFS... and potentially for other non-AWS backends later... WDYT?

I'm fine with a copy too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Using S3Access sounds great but I am not sure if they are truly re-usable (e.g. switch from minio to rustfs would required couple changes already such as environments variables used by them as well as the domain with port when using virtual host style access).

My only concern is, with generic naming, will that be more confusing as we can't really promised switching to another s3 compatible will work (e.g. rustfs to seaweedfs)? I am assuming we would drop minio one day and maybe do the change around that time instead?

Copy link
Contributor

Choose a reason for hiding this comment

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

Good points! I'm ok to merge "as is" 🙂

@github-project-automation github-project-automation bot moved this from PRs In Progress to Ready to merge in Basic Kanban Board Feb 5, 2026
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.

2 participants