Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/services/s3/src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ impl S3Builder {
self
}

/// Disable list objects v2 so that opendal will not use the older
/// Disable list objects v2 so that opendal will fall back to the older

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
/// Disable list objects v2 so that opendal will fall back to the older
/// Disable list objects v2 so that Openal will fall back to the older

I strongly suggest deprecating disable_ functions and to use enable instead because it takes time to understand some tricky combination of configurations.

In this case, enable_legacy_list_objects_v1 would do. It has been a while since AWS deprecate this. Doc is here.

This action has been revised. We recommend that you use the newer version, ListObjectsV2, when developing applications. For backward compatibility, Amazon S3 continues to support ListObjects.

@Xuanwo Xuanwo Jun 25, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I feel enable_legacy_list_objects_v1 seems to be good but that introduce a new config. I think it's find to implement as a follow-up.

/// List Objects V1 to list objects.
///
/// By default, OpenDAL uses List Objects V2 to list objects. However,
Expand Down
Loading