From 293db73c1cffaeb64a18bd9e15883bd82d17b21f Mon Sep 17 00:00:00 2001 From: congyi wang <58715567+wcy-fdu@users.noreply.github.com> Date: Tue, 7 May 2024 15:33:20 +0800 Subject: [PATCH] fix(source): make s3 source compatible with minio (#16521) --- Cargo.lock | 8 ++++---- .../src/source/filesystem/opendal_source/s3_source.rs | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cfd22c41c3d7a..28aa7b737e349 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1619,11 +1619,11 @@ dependencies = [ [[package]] name = "backon" -version = "0.4.1" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c1a6197b2120bb2185a267f6515038558b019e92b832bb0320e96d66268dcf9" +checksum = "d67782c3f868daa71d3533538e98a8e13713231969def7536e8039606fc46bf0" dependencies = [ - "fastrand 1.9.0", + "fastrand 2.0.1", "futures-core", "pin-project", "tokio", @@ -9331,7 +9331,7 @@ dependencies = [ "indoc", "libc", "memoffset", - "parking_lot 0.12.1", + "parking_lot 0.11.2", "portable-atomic", "pyo3-build-config", "pyo3-ffi", diff --git a/src/connector/src/source/filesystem/opendal_source/s3_source.rs b/src/connector/src/source/filesystem/opendal_source/s3_source.rs index f4a548306885a..fd41c44e1f7d6 100644 --- a/src/connector/src/source/filesystem/opendal_source/s3_source.rs +++ b/src/connector/src/source/filesystem/opendal_source/s3_source.rs @@ -58,8 +58,6 @@ impl OpendalEnumerator { ); } - builder.enable_virtual_host_style(); - if let Some(assume_role) = assume_role { builder.role_arn(&assume_role); }