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

OpenDAL capability should represent the maximum service capacity rather than its current configuration #5520

Open
Xuanwo opened this issue Jan 8, 2025 · 1 comment

Comments

@Xuanwo
Copy link
Member

Xuanwo commented Jan 8, 2025

OpenDAL uses Capability to represent the operations supported by services. Historically, we have provided separate configurations for users to customize services, such as batch_max_operations and disable_stat_with_override.

This might be confusing for features that users can enable or disable, such as bucket versioning. When users set enable_versioning, they might think they are enabling versioning on the bucket itself, but in reality, it only toggles a flag in OpenDAL.

Perhaps we should offer users a way to adjust the capability themselves, rather than attempting to create configurations for every field.

@meteorgan
Copy link
Contributor

Perhaps, we should distinguish between Capability and Option. versioning represents the service capability and it come with a default option. What we provide to users is the Option

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

No branches or pull requests

2 participants