This is an automated email from the ASF dual-hosted git repository.

JingsongLi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-rust.git


The following commit(s) were added to refs/heads/main by this push:
     new f9621804 build(deps): bump opendal-layer-retry from 0.58.2 to 0.59.5 
(#1298)
f9621804 is described below

commit f9621804a60c3cf34fcdf3e5e94fbf62dbfef90c
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Mon Nov 2 12:15:22 2026 +0800

    build(deps): bump opendal-layer-retry from 0.58.2 to 0.59.5 (#1298)
---
 Cargo.lock                                         | 85 ++++++++++++----------
 DEPENDENCIES.rust.tsv                              | 27 +++----
 benchmarks/tpcds/DEPENDENCIES.rust.tsv             | 14 ++--
 bindings/c/Cargo.toml                              |  2 +-
 bindings/c/DEPENDENCIES.rust.tsv                   | 25 ++++---
 bindings/go/DEPENDENCIES.rust.tsv                  | 25 ++++---
 bindings/python/DEPENDENCIES.rust.tsv              | 27 +++----
 crates/integration_tests/DEPENDENCIES.rust.tsv     | 14 ++--
 crates/integrations/datafusion/Cargo.toml          |  2 +-
 .../integrations/datafusion/DEPENDENCIES.rust.tsv  | 14 ++--
 .../datafusion/tests/replace_tag/support.rs        | 13 +++-
 crates/paimon-rest-server/DEPENDENCIES.rust.tsv    | 14 ++--
 crates/paimon/Cargo.toml                           | 22 +++---
 crates/paimon/DEPENDENCIES.rust.tsv                | 27 +++----
 crates/paimon/src/io/file_io.rs                    | 12 ++-
 crates/paimon/src/io/storage_jindo.rs              | 19 +++--
 crates/paimon/src/io/storage_oss_cpp.rs            | 29 ++++----
 crates/paimon/src/io/storage_oss_cpp_test.rs       | 19 +++++
 crates/paimon/tests/dynamic_bucket_write_test.rs   | 18 +++--
 19 files changed, 225 insertions(+), 183 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 13adfa7b..4b036e3c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -629,13 +629,9 @@ dependencies = [
 
 [[package]]
 name = "asyncband"
-version = "0.6.7"
+version = "0.7.4"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "94a214ba60d6231afd0e805e3c27c45a1626d9debaa5a5061c45a1ea1b2f1ed0"
-dependencies = [
- "hashbrown 0.17.1",
- "slab",
-]
+checksum = "5d2050892d4691cf110586070786712b504985a4d37ed64a9cd8a402718e1706"
 
 [[package]]
 name = "atoi"
@@ -4346,9 +4342,9 @@ checksum = 
"cfe21416a02c693fb9f980befcb230ecc70b0b3d1cc4abf88b9675c4c1457f0c"
 
 [[package]]
 name = "opendal-core"
-version = "0.58.2"
+version = "0.59.5"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "48dbcef97d3eb7591db2c18d5cae95c836bcce07359b98d98dd6f4e861eb77b7"
+checksum = "33d5a635dfea36a7a0c3bbb2ca34c97af17f98dd69b0cdf31a1d436a346e0a12"
 dependencies = [
  "anyhow",
  "asyncband",
@@ -4360,7 +4356,7 @@ dependencies = [
  "log",
  "md-5 0.11.0",
  "percent-encoding",
- "quick-xml",
+ "quick-xml 0.42.0",
  "reqsign-core",
  "serde",
  "serde_json",
@@ -4372,9 +4368,9 @@ dependencies = [
 
 [[package]]
 name = "opendal-http-transport-reqwest"
-version = "0.58.2"
+version = "0.59.5"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "85663452ea32bbc17e8f79ab29788c846d116ec7de31451be9c787e462dcb36c"
+checksum = "fc025e163c43993e30cf1829a30b791934e5b0f7cd4d7e03acc902a9efb7e8f5"
 dependencies = [
  "bytes",
  "futures",
@@ -4386,9 +4382,9 @@ dependencies = [
 
 [[package]]
 name = "opendal-layer-retry"
-version = "0.58.2"
+version = "0.59.5"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "e94db301964a25366090484d61e6da16d5979cc8faf02c3e12210dc74fafed38"
+checksum = "2a02c59479b047878f4a0f269f23c847f24d67d1ff19f2b20fdd5a3bceefd451"
 dependencies = [
  "backon",
  "log",
@@ -4397,9 +4393,9 @@ dependencies = [
 
 [[package]]
 name = "opendal-service-azdls"
-version = "0.58.2"
+version = "0.59.5"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "2d564484a8f7d091827e825cfc91ed45bd48e64d262451ee041fe843db81bd8a"
+checksum = "afeb287cf2b03ab8d99d77a8e9687e908eb7898e2da1af6ccd00590c7095cae6"
 dependencies = [
  "asyncband",
  "base64 0.23.1",
@@ -4408,7 +4404,7 @@ dependencies = [
  "log",
  "opendal-core",
  "opendal-service-azure-common",
- "quick-xml",
+ "quick-xml 0.42.0",
  "reqsign-azure-storage",
  "reqsign-core",
  "reqsign-file-read-tokio",
@@ -4418,9 +4414,9 @@ dependencies = [
 
 [[package]]
 name = "opendal-service-azure-common"
-version = "0.58.2"
+version = "0.59.5"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "cfcc1bfdac4f54d9018c462dd32ad9e2f68fdf584f825c811550c8ffc87894cd"
+checksum = "bdf9c9d0bfd1fa3638eec485c7f3448252cbb5a81774a2aa7abadc3e4f1ea43e"
 dependencies = [
  "http",
  "opendal-core",
@@ -4428,15 +4424,15 @@ dependencies = [
 
 [[package]]
 name = "opendal-service-cos"
-version = "0.58.2"
+version = "0.59.5"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "bb021c128ebde42e6f3e719d4cfed27e994017aa503a7a1e5818bdb61fd67dc9"
+checksum = "423127c9e81b1ef4253883743ea6696c06dfad0fa6dcb1247887039919e53772"
 dependencies = [
  "bytes",
  "http",
  "log",
  "opendal-core",
- "quick-xml",
+ "quick-xml 0.42.0",
  "reqsign-core",
  "reqsign-file-read-tokio",
  "reqsign-tencent-cos",
@@ -4445,9 +4441,9 @@ dependencies = [
 
 [[package]]
 name = "opendal-service-fs"
-version = "0.58.2"
+version = "0.59.5"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "c7ef1e1c45f3f89282a59073897e0d685e51385fed0aea771714789525cff996"
+checksum = "70768b8f5af6996a494e784a1dc2a76b5cf890c422aff31ad094319bde98feb7"
 dependencies = [
  "bytes",
  "log",
@@ -4459,9 +4455,9 @@ dependencies = [
 
 [[package]]
 name = "opendal-service-gcs"
-version = "0.58.2"
+version = "0.59.5"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "da1f2a8c975fd22fea01f0409bcb8774f1ac02ad79863a3490098203121555d3"
+checksum = "f9e5197fce0cd5929db9129a7e71e503841aa20bea4f1dcc54ab097a5f3652e9"
 dependencies = [
  "async-trait",
  "bytes",
@@ -4469,20 +4465,21 @@ dependencies = [
  "log",
  "opendal-core",
  "percent-encoding",
- "quick-xml",
+ "quick-xml 0.42.0",
  "reqsign-core",
  "reqsign-file-read-tokio",
  "reqsign-google",
  "serde",
  "serde_json",
  "tokio",
+ "uuid",
 ]
 
 [[package]]
 name = "opendal-service-hdfs-native"
-version = "0.58.2"
+version = "0.59.5"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "8aebbf956ea9e64d70fc8d1f25381604c02528805c23bd55443b8e924b438222"
+checksum = "81a6ea279df6bc6cf0e849481cf3c629b0bec77d04ef927f1ea87b40e7ffac20"
 dependencies = [
  "bytes",
  "futures",
@@ -4494,15 +4491,15 @@ dependencies = [
 
 [[package]]
 name = "opendal-service-obs"
-version = "0.58.2"
+version = "0.59.5"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "9e03c635ea35bdb07c1168612d42386635d16a1583c753efaf70bc7c8ac68c83"
+checksum = "109260471e70ba3b4db7c2380b4b472984e44a3e16091409c87b86f37f2f05f5"
 dependencies = [
  "bytes",
  "http",
  "log",
  "opendal-core",
- "quick-xml",
+ "quick-xml 0.42.0",
  "reqsign-core",
  "reqsign-file-read-tokio",
  "reqsign-huaweicloud-obs",
@@ -4511,15 +4508,15 @@ dependencies = [
 
 [[package]]
 name = "opendal-service-oss"
-version = "0.58.2"
+version = "0.59.5"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "8e3ce7a2ceb925e0f28f545b169eb57d04cec6116aae94b8584d2bdbe7d456c6"
+checksum = "30e973fcebfa413432c024c41d65fad8034b22c065250c587e0c3a70f1a27eb6"
 dependencies = [
  "bytes",
  "http",
  "log",
  "opendal-core",
- "quick-xml",
+ "quick-xml 0.42.0",
  "reqsign-aliyun-oss",
  "reqsign-core",
  "reqsign-file-read-tokio",
@@ -4528,9 +4525,9 @@ dependencies = [
 
 [[package]]
 name = "opendal-service-s3"
-version = "0.58.2"
+version = "0.59.5"
 source = "registry+https://github.com/rust-lang/crates.io-index";
-checksum = "c64335f9f24ccb62ac36f1d976342b48611a75ba61979813a4f78a4ebd94de42"
+checksum = "0932321e27c712a30ef72db56b12f31e41e9f0d2d3841d63a91bc8075cd8f0ef"
 dependencies = [
  "base64 0.23.1",
  "bytes",
@@ -4539,7 +4536,7 @@ dependencies = [
  "log",
  "md-5 0.11.0",
  "opendal-core",
- "quick-xml",
+ "quick-xml 0.42.0",
  "reqsign-aws-v4",
  "reqsign-core",
  "reqsign-file-read-tokio",
@@ -5437,6 +5434,16 @@ dependencies = [
  "serde",
 ]
 
+[[package]]
+name = "quick-xml"
+version = "0.42.0"
+source = "registry+https://github.com/rust-lang/crates.io-index";
+checksum = "41b1177fdf999d2321d3fb46ff47159d9c1fb9ad66a4879f8c50a0b504615e9b"
+dependencies = [
+ "memchr",
+ "serde",
+]
+
 [[package]]
 name = "quinn"
 version = "0.11.11"
@@ -5754,7 +5761,7 @@ dependencies = [
  "http",
  "log",
  "percent-encoding",
- "quick-xml",
+ "quick-xml 0.41.0",
  "reqsign-core",
  "rust-ini",
  "serde",
@@ -5772,7 +5779,7 @@ dependencies = [
  "bytes",
  "http",
  "log",
- "quick-xml",
+ "quick-xml 0.41.0",
  "reqsign-aws-core",
  "reqsign-core",
  "serde",
diff --git a/DEPENDENCIES.rust.tsv b/DEPENDENCIES.rust.tsv
index 60497665..61b87291 100644
--- a/DEPENDENCIES.rust.tsv
+++ b/DEPENDENCIES.rust.tsv
@@ -51,7 +51,7 @@ [email protected]                                            
                                                X
 [email protected]                                                        
                                        X                                       
                
 [email protected]               X                                               
                                X                                               
        
 [email protected]             X                                               
                                X                                               
        
[email protected]                X                                               
                                                                                
        
[email protected]                X                                               
                                                                                
        
 [email protected]                                                                     
                        X                                                       
 [email protected]             X                                               
                                X                                               
        
 [email protected]          X                                                       
                        X                                                       
@@ -380,18 +380,18 @@ [email protected]          X                               
                                                X
 [email protected]              X                                       
                                        X                                       
                
 [email protected]         X                                                       
                        X                                                       
 [email protected]          X                                                       
                        X                                                       
[email protected]            X                                               
                                                                                
        
[email protected]          X                               
                                                                                
                        
[email protected]             X                                       
                                                                                
                
[email protected]           X                                       
                                                                                
                
[email protected]            X                               
                                                                                
                        
[email protected]             X                                       
                                                                                
                
[email protected]              X                                       
                                                                                
                
[email protected]             X                                       
                                                                                
                
[email protected]             X                               
                                                                                
                        
[email protected]             X                                       
                                                                                
                
[email protected]             X                                       
                                                                                
                
[email protected]              X                                       
                                                                                
                
[email protected]            X                                               
                                                                                
        
[email protected]          X                               
                                                                                
                        
[email protected]             X                                       
                                                                                
                
[email protected]           X                                       
                                                                                
                
[email protected]            X                               
                                                                                
                        
[email protected]             X                                       
                                                                                
                
[email protected]              X                                       
                                                                                
                
[email protected]             X                                       
                                                                                
                
[email protected]             X                               
                                                                                
                        
[email protected]             X                                       
                                                                                
                
[email protected]             X                                       
                                                                                
                
[email protected]              X                                       
                                                                                
                
 [email protected]                X                                               
                                                                                
        
 [email protected]           X                                               
                                X                                               
        
 [email protected]            X                                               
                                X                                               
        
@@ -462,6 +462,7 @@ [email protected]          X                       
                                                        X
 [email protected]            X                                               
                                                                                
        
 [email protected]                                                                
                                X                                               
        
 [email protected]                                                               
                                X                                               
        
[email protected]                                                               
                                X                                               
        
 [email protected]           X                                                       
                        X                                                       
 [email protected]            X                                                       
                X       X                                                       
 [email protected]            X                                                       
                X       X                                                       
diff --git a/benchmarks/tpcds/DEPENDENCIES.rust.tsv 
b/benchmarks/tpcds/DEPENDENCIES.rust.tsv
index d663b46e..c437e4d2 100644
--- a/benchmarks/tpcds/DEPENDENCIES.rust.tsv
+++ b/benchmarks/tpcds/DEPENDENCIES.rust.tsv
@@ -37,7 +37,7 @@ [email protected]              X                       
                                                X
 [email protected]                                                             
                        X                                                       
 [email protected]                                                        
                                X                                               
        
 [email protected]             X                                               
                        X                                                       
[email protected]                X                                               
                                                                                
[email protected]                X                                               
                                                                                
 [email protected]                                                                     
                X                                                       
 [email protected]             X                                               
                        X                                                       
 [email protected]          X                                                       
                X                                                       
@@ -292,11 +292,11 @@ [email protected]               X                       
                                                X
 [email protected]               X                                               
                        X                                                       
 [email protected]              X                                       
                                X                                               
        
 [email protected]         X                                                       
                X                                                       
[email protected]            X                                               
                                                                                
[email protected]          X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]              X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
[email protected]            X                                               
                                                                                
[email protected]          X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]              X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
 [email protected]                X                                               
                                                                                
 [email protected]           X                                               
                        X                                                       
 [email protected]            X                                               
                        X                                                       
@@ -342,7 +342,7 @@ [email protected]                X
 [email protected]            X                                               
                                                                                
 [email protected]             X                                                       
                X                                                       
 [email protected]                                                                
                        X                                                       
[email protected]                                                               
                        X                                                       
[email protected]                                                               
                        X                                                       
 [email protected]           X                                                       
                X                                                       
 [email protected]            X                                                       
        X       X                                                       
 [email protected]            X                                                       
        X       X                                                       
diff --git a/bindings/c/Cargo.toml b/bindings/c/Cargo.toml
index ddccb891..b82aea27 100644
--- a/bindings/c/Cargo.toml
+++ b/bindings/c/Cargo.toml
@@ -49,7 +49,7 @@ bytes = "1.7.1"
 
 [dev-dependencies]
 base64 = "0.22"
-opendal = { package = "opendal-core", version = "0.58.0" }
+opendal = { package = "opendal-core", version = "0.59.5" }
 # Test-only: the vector-search integration tests build a real primary-key 
vindex
 # IVF-flat ANN segment fixture in-process. Versions match crates/paimon.
 paimon-vindex-core = "0.5.0"
diff --git a/bindings/c/DEPENDENCIES.rust.tsv b/bindings/c/DEPENDENCIES.rust.tsv
index acc0c28d..8316c08d 100644
--- a/bindings/c/DEPENDENCIES.rust.tsv
+++ b/bindings/c/DEPENDENCIES.rust.tsv
@@ -30,7 +30,7 @@ [email protected]              X                       
                                                X
 [email protected]                                                             
                        X                                                       
 [email protected]                                                        
                                X                                               
        
 [email protected]             X                                               
                        X                                                       
[email protected]                X                                               
                                                                                
[email protected]                X                                               
                                                                                
 [email protected]                                                                     
                X                                                       
 [email protected]             X                                               
                        X                                                       
 [email protected]          X                                                       
                X                                                       
@@ -244,17 +244,17 @@ [email protected]                X                       
                                                X
 [email protected]              X                                               
                        X                                                       
 [email protected]               X                                               
                        X                                                       
 [email protected]         X                                                       
                X                                                       
[email protected]            X                                               
                                                                                
[email protected]          X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]           X                                       
                                                                                
        
[email protected]            X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]              X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
[email protected]              X                                       
                                                                                
        
[email protected]            X                                               
                                                                                
[email protected]          X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]           X                                       
                                                                                
        
[email protected]            X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]              X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
[email protected]              X                                       
                                                                                
        
 [email protected]                X                                               
                                                                                
 [email protected]           X                                               
                        X                                                       
 [email protected]            X                                               
                        X                                                       
@@ -300,6 +300,7 @@ [email protected]                X
 [email protected]            X                                               
                                                                                
 [email protected]                                                                
                        X                                                       
 [email protected]                                                               
                        X                                                       
[email protected]                                                               
                        X                                                       
 [email protected]           X                                                       
                X                                                       
 [email protected]            X                                                       
        X       X                                                       
 [email protected]            X                                                       
        X       X                                                       
diff --git a/bindings/go/DEPENDENCIES.rust.tsv 
b/bindings/go/DEPENDENCIES.rust.tsv
index acc0c28d..8316c08d 100644
--- a/bindings/go/DEPENDENCIES.rust.tsv
+++ b/bindings/go/DEPENDENCIES.rust.tsv
@@ -30,7 +30,7 @@ [email protected]              X                       
                                                X
 [email protected]                                                             
                        X                                                       
 [email protected]                                                        
                                X                                               
        
 [email protected]             X                                               
                        X                                                       
[email protected]                X                                               
                                                                                
[email protected]                X                                               
                                                                                
 [email protected]                                                                     
                X                                                       
 [email protected]             X                                               
                        X                                                       
 [email protected]          X                                                       
                X                                                       
@@ -244,17 +244,17 @@ [email protected]                X                       
                                                X
 [email protected]              X                                               
                        X                                                       
 [email protected]               X                                               
                        X                                                       
 [email protected]         X                                                       
                X                                                       
[email protected]            X                                               
                                                                                
[email protected]          X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]           X                                       
                                                                                
        
[email protected]            X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]              X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
[email protected]              X                                       
                                                                                
        
[email protected]            X                                               
                                                                                
[email protected]          X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]           X                                       
                                                                                
        
[email protected]            X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]              X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
[email protected]              X                                       
                                                                                
        
 [email protected]                X                                               
                                                                                
 [email protected]           X                                               
                        X                                                       
 [email protected]            X                                               
                        X                                                       
@@ -300,6 +300,7 @@ [email protected]                X
 [email protected]            X                                               
                                                                                
 [email protected]                                                                
                        X                                                       
 [email protected]                                                               
                        X                                                       
[email protected]                                                               
                        X                                                       
 [email protected]           X                                                       
                X                                                       
 [email protected]            X                                                       
        X       X                                                       
 [email protected]            X                                                       
        X       X                                                       
diff --git a/bindings/python/DEPENDENCIES.rust.tsv 
b/bindings/python/DEPENDENCIES.rust.tsv
index d0f4cf81..12bbf159 100644
--- a/bindings/python/DEPENDENCIES.rust.tsv
+++ b/bindings/python/DEPENDENCIES.rust.tsv
@@ -36,7 +36,7 @@ [email protected]                                               
                                                X
 [email protected]                                                             
                                X                                               
        
 [email protected]                                                        
                                        X                                       
                
 [email protected]             X                                               
                                X                                               
        
[email protected]                X                                               
                                                                                
        
[email protected]                X                                               
                                                                                
        
 [email protected]                                                                     
                        X                                                       
 [email protected]             X                                               
                                X                                               
        
 [email protected]          X                                                       
                        X                                                       
@@ -314,18 +314,18 @@ [email protected]             X                               
                                                X
 [email protected]            X                                               
                                X                                               
        
 [email protected]               X                                               
                                X                                               
        
 [email protected]         X                                                       
                        X                                                       
[email protected]            X                                               
                                                                                
        
[email protected]          X                               
                                                                                
                        
[email protected]             X                                       
                                                                                
                
[email protected]           X                                       
                                                                                
                
[email protected]            X                               
                                                                                
                        
[email protected]             X                                       
                                                                                
                
[email protected]              X                                       
                                                                                
                
[email protected]             X                                       
                                                                                
                
[email protected]             X                               
                                                                                
                        
[email protected]             X                                       
                                                                                
                
[email protected]             X                                       
                                                                                
                
[email protected]              X                                       
                                                                                
                
[email protected]            X                                               
                                                                                
        
[email protected]          X                               
                                                                                
                        
[email protected]             X                                       
                                                                                
                
[email protected]           X                                       
                                                                                
                
[email protected]            X                               
                                                                                
                        
[email protected]             X                                       
                                                                                
                
[email protected]              X                                       
                                                                                
                
[email protected]             X                                       
                                                                                
                
[email protected]             X                               
                                                                                
                        
[email protected]             X                                       
                                                                                
                
[email protected]             X                                       
                                                                                
                
[email protected]              X                                       
                                                                                
                
 [email protected]                X                                               
                                                                                
        
 [email protected]           X                                               
                                X                                               
        
 [email protected]            X                                               
                                X                                               
        
@@ -387,6 +387,7 @@ [email protected]          X                       
                                                        X
 [email protected]            X                                               
                                                                                
        
 [email protected]                                                                
                                X                                               
        
 [email protected]                                                               
                                X                                               
        
[email protected]                                                               
                                X                                               
        
 [email protected]           X                                                       
                        X                                                       
 [email protected]            X                                                       
                X       X                                                       
 [email protected]            X                                                       
                X       X                                                       
diff --git a/crates/integration_tests/DEPENDENCIES.rust.tsv 
b/crates/integration_tests/DEPENDENCIES.rust.tsv
index ef2ec073..a54283d1 100644
--- a/crates/integration_tests/DEPENDENCIES.rust.tsv
+++ b/crates/integration_tests/DEPENDENCIES.rust.tsv
@@ -29,7 +29,7 @@ [email protected]              X                       
                                                X
 [email protected]                                                             
                        X                                                       
 [email protected]                                                        
                                X                                               
        
 [email protected]             X                                               
                        X                                                       
[email protected]                X                                               
                                                                                
[email protected]                X                                               
                                                                                
 [email protected]                                                                     
                X                                                       
 [email protected]             X                                               
                        X                                                       
 [email protected]          X                                                       
                X                                                       
@@ -234,11 +234,11 @@ [email protected]                X                       
                                                X
 [email protected]              X                                               
                        X                                                       
 [email protected]               X                                               
                        X                                                       
 [email protected]         X                                                       
                X                                                       
[email protected]            X                                               
                                                                                
[email protected]          X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]              X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
[email protected]            X                                               
                                                                                
[email protected]          X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]              X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
 [email protected]                X                                               
                                                                                
 [email protected]           X                                               
                        X                                                       
 [email protected]            X                                               
                        X                                                       
@@ -277,7 +277,7 @@ [email protected]         X                               
                                        X
 [email protected]           X                                                       
                                                                        
 [email protected]            X                                               
                                                                                
 [email protected]                                                                
                        X                                                       
[email protected]                                                               
                        X                                                       
[email protected]                                                               
                        X                                                       
 [email protected]           X                                                       
                X                                                       
 [email protected]            X                                                       
        X       X                                                       
 [email protected]            X                                                       
        X       X                                                       
diff --git a/crates/integrations/datafusion/Cargo.toml 
b/crates/integrations/datafusion/Cargo.toml
index 88838d41..9e080f30 100644
--- a/crates/integrations/datafusion/Cargo.toml
+++ b/crates/integrations/datafusion/Cargo.toml
@@ -55,7 +55,7 @@ arrow-schema = { workspace = true }
 axum = { version = "0.7", features = ["macros", "tokio", "http1", "http2"] }
 bytes = "1.7.1"
 flate2 = "1"
-opendal = { package = "opendal-core", version = "0.58.0", features = 
["services-memory"] }
+opendal = { package = "opendal-core", version = "0.59.5", features = 
["services-memory"] }
 paimon-ftindex-core = "0.1.0"
 parquet = { workspace = true }
 tar = "0.4"
diff --git a/crates/integrations/datafusion/DEPENDENCIES.rust.tsv 
b/crates/integrations/datafusion/DEPENDENCIES.rust.tsv
index a03f0c79..066e6fc0 100644
--- a/crates/integrations/datafusion/DEPENDENCIES.rust.tsv
+++ b/crates/integrations/datafusion/DEPENDENCIES.rust.tsv
@@ -42,7 +42,7 @@ [email protected]                                            
                                        X
 [email protected]                                                        
                                X                                               
        
 [email protected]               X                                               
                        X                                                       
 [email protected]             X                                               
                        X                                                       
[email protected]                X                                               
                                                                                
[email protected]                X                                               
                                                                                
 [email protected]                                                                     
                X                                                       
 [email protected]             X                                               
                        X                                                       
 [email protected]          X                                                       
                X                                                       
@@ -331,11 +331,11 @@ [email protected]               X                       
                                                X
 [email protected]               X                                               
                        X                                                       
 [email protected]         X                                                       
                X                                                       
 [email protected]          X                                                       
                X                                                       
[email protected]            X                                               
                                                                                
[email protected]          X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]              X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
[email protected]            X                                               
                                                                                
[email protected]          X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]              X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
 [email protected]                X                                               
                                                                                
 [email protected]           X                                               
                        X                                                       
 [email protected]            X                                               
                        X                                                       
@@ -388,7 +388,7 @@ [email protected]         X
 [email protected]             X                                               
                                                                                
 [email protected]             X                                                       
                X                                                       
 [email protected]                                                                
                        X                                                       
[email protected]                                                               
                        X                                                       
[email protected]                                                               
                        X                                                       
 [email protected]           X                                                       
                X                                                       
 [email protected]            X                                                       
        X       X                                                       
 [email protected]            X                                                       
        X       X                                                       
diff --git a/crates/integrations/datafusion/tests/replace_tag/support.rs 
b/crates/integrations/datafusion/tests/replace_tag/support.rs
index 5691e9af..dbd7471d 100644
--- a/crates/integrations/datafusion/tests/replace_tag/support.rs
+++ b/crates/integrations/datafusion/tests/replace_tag/support.rs
@@ -161,6 +161,7 @@ impl Service for FailTagWrites {
     type Lister = oio::Lister;
     type Deleter = oio::Deleter;
     type Copier = oio::Copier;
+    type Composer = oio::Composer;
 
     fn info(&self) -> ServiceInfo {
         self.inner.info()
@@ -232,9 +233,17 @@ impl Service for FailTagWrites {
         from: &str,
         to: &str,
         args: OpCopy,
-        opts: OpCopier,
     ) -> opendal::Result<Self::Copier> {
-        self.inner.copy(ctx, from, to, args, opts)
+        self.inner.copy(ctx, from, to, args)
+    }
+
+    fn compose(
+        &self,
+        ctx: &opendal::OperationContext,
+        to: &str,
+        args: OpCompose,
+    ) -> opendal::Result<Self::Composer> {
+        self.inner.compose(ctx, to, args)
     }
 
     async fn rename(
diff --git a/crates/paimon-rest-server/DEPENDENCIES.rust.tsv 
b/crates/paimon-rest-server/DEPENDENCIES.rust.tsv
index 70622094..35d5429d 100644
--- a/crates/paimon-rest-server/DEPENDENCIES.rust.tsv
+++ b/crates/paimon-rest-server/DEPENDENCIES.rust.tsv
@@ -29,7 +29,7 @@ [email protected]              X                       
                                                X
 [email protected]                                                             
                        X                                                       
 [email protected]                                                        
                                X                                               
        
 [email protected]             X                                               
                        X                                                       
[email protected]                X                                               
                                                                                
[email protected]                X                                               
                                                                                
 [email protected]                                                                     
                X                                                       
 [email protected]             X                                               
                        X                                                       
 [email protected]          X                                                       
                X                                                       
@@ -238,11 +238,11 @@ [email protected]                X                       
                                                X
 [email protected]              X                                               
                        X                                                       
 [email protected]               X                                               
                        X                                                       
 [email protected]         X                                                       
                X                                                       
[email protected]            X                                               
                                                                                
[email protected]          X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]              X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
[email protected]            X                                               
                                                                                
[email protected]          X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]              X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
 [email protected]                X                                               
                                                                                
 [email protected]           X                                               
                        X                                                       
 [email protected]            X                                               
                        X                                                       
@@ -281,7 +281,7 @@ [email protected]         X                               
                                        X
 [email protected]           X                                                       
                                                                        
 [email protected]            X                                               
                                                                                
 [email protected]                                                                
                        X                                                       
[email protected]                                                               
                        X                                                       
[email protected]                                                               
                        X                                                       
 [email protected]           X                                                       
                X                                                       
 [email protected]            X                                                       
        X       X                                                       
 [email protected]            X                                                       
        X       X                                                       
diff --git a/crates/paimon/Cargo.toml b/crates/paimon/Cargo.toml
index 34857853..3bc4385c 100644
--- a/crates/paimon/Cargo.toml
+++ b/crates/paimon/Cargo.toml
@@ -97,17 +97,17 @@ serde_with = "3.9.0"
 serde_repr = "0.1"
 snafu = "0.9.0"
 typed-builder = "^0.19"
-opendal = { package = "opendal-core", version = "0.58.0" }
-opendal-http-transport-reqwest = { version = "0.58.0", optional = true }
-opendal-layer-retry = { version = "0.58.0", optional = true }
-opendal-service-azdls = { version = "0.58.0", optional = true }
-opendal-service-cos = { version = "0.58.0", optional = true }
-opendal-service-fs = { version = "0.58.0", optional = true }
-opendal-service-gcs = { version = "0.58.0", optional = true }
-opendal-service-hdfs-native = { version = "0.58.0", optional = true }
-opendal-service-obs = { version = "0.58.0", optional = true }
-opendal-service-oss = { version = "0.58.0", optional = true }
-opendal-service-s3 = { version = "0.58.0", optional = true }
+opendal = { package = "opendal-core", version = "0.59.5" }
+opendal-http-transport-reqwest = { version = "0.59.5", optional = true }
+opendal-layer-retry = { version = "0.59.5", optional = true }
+opendal-service-azdls = { version = "0.59.5", optional = true }
+opendal-service-cos = { version = "0.59.5", optional = true }
+opendal-service-fs = { version = "0.59.5", optional = true }
+opendal-service-gcs = { version = "0.59.5", optional = true }
+opendal-service-hdfs-native = { version = "0.59.5", optional = true }
+opendal-service-obs = { version = "0.59.5", optional = true }
+opendal-service-oss = { version = "0.59.5", optional = true }
+opendal-service-s3 = { version = "0.59.5", optional = true }
 pretty_assertions = "1"
 apache-avro = { version = "0.21", features = ["snappy", "zstandard", "bzip", 
"xz"] }
 indexmap = { version = "2.5.0", features = ["serde"] }
diff --git a/crates/paimon/DEPENDENCIES.rust.tsv 
b/crates/paimon/DEPENDENCIES.rust.tsv
index e857d2c2..4080653a 100644
--- a/crates/paimon/DEPENDENCIES.rust.tsv
+++ b/crates/paimon/DEPENDENCIES.rust.tsv
@@ -41,7 +41,7 @@ [email protected]                                            
                                        X
 [email protected]                                                        
                                X                                               
        
 [email protected]               X                                               
                        X                                                       
 [email protected]             X                                               
                        X                                                       
[email protected]                X                                               
                                                                                
[email protected]                X                                               
                                                                                
 [email protected]                                                                     
                X                                                       
 [email protected]             X                                               
                        X                                                       
 [email protected]          X                                                       
                X                                                       
@@ -316,18 +316,18 @@ [email protected]          X               
                                                        X                       
                X
 [email protected]               X                                               
                        X                                                       
 [email protected]         X                                                       
                X                                                       
 [email protected]          X                                                       
                X                                                       
[email protected]            X                                               
                                                                                
[email protected]          X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]           X                                       
                                                                                
        
[email protected]            X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]              X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
[email protected]             X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
[email protected]              X                                       
                                                                                
        
[email protected]            X                                               
                                                                                
[email protected]          X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]           X                                       
                                                                                
        
[email protected]            X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]              X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
[email protected]             X                               
                                                                                
                
[email protected]             X                                       
                                                                                
        
[email protected]             X                                       
                                                                                
        
[email protected]              X                                       
                                                                                
        
 [email protected]                X                                               
                                                                                
 [email protected]           X                                               
                        X                                                       
 [email protected]            X                                               
                        X                                                       
@@ -382,6 +382,7 @@ [email protected]         X
 [email protected]             X                                               
                                                                                
 [email protected]                                                                
                        X                                                       
 [email protected]                                                               
                        X                                                       
[email protected]                                                               
                        X                                                       
 [email protected]           X                                                       
                X                                                       
 [email protected]            X                                                       
        X       X                                                       
 [email protected]            X                                                       
        X       X                                                       
diff --git a/crates/paimon/src/io/file_io.rs b/crates/paimon/src/io/file_io.rs
index dec7b603..42814fd8 100644
--- a/crates/paimon/src/io/file_io.rs
+++ b/crates/paimon/src/io/file_io.rs
@@ -1987,10 +1987,10 @@ mod file_action_test {
     use super::*;
     use bytes::Bytes;
     use opendal::raw::{
-        oio, OpCopier, OpCopy, OpCreateDir, OpList, OpPresign, OpRead, 
OpRename, OpStat, OpWrite,
+        oio, OpCopy, OpCreateDir, OpList, OpPresign, OpRead, OpRename, OpStat, 
OpWrite,
         RpCreateDir, RpPresign, RpRename, RpStat, Service, ServiceInfo, 
Servicer,
     };
-    use opendal::{Capability, EntryMode, Metadata, OperationContext};
+    use opendal::{Capability, MetadataBuilder, OperationContext};
 
     #[derive(Debug)]
     struct CountingListProvider {
@@ -2025,6 +2025,7 @@ mod file_action_test {
         type Lister = CountingLister;
         type Deleter = ();
         type Copier = ();
+        type Composer = ();
 
         fn info(&self) -> ServiceInfo {
             ServiceInfo::with_scheme("counting")
@@ -2059,9 +2060,7 @@ mod file_action_test {
             }
             if let Some((calls, size)) = &self.stat_response {
                 calls.fetch_add(1, AtomicOrdering::SeqCst);
-                return Ok(RpStat::new(
-                    Metadata::new(EntryMode::FILE).with_content_length(*size),
-                ));
+                return Ok(RpStat::new(MetadataBuilder::file(*size).build()));
             }
             Err(unsupported_test_operation())
         }
@@ -2107,7 +2106,6 @@ mod file_action_test {
             _from: &str,
             _to: &str,
             _args: OpCopy,
-            _opts: OpCopier,
         ) -> opendal::Result<Self::Copier> {
             Err(unsupported_test_operation())
         }
@@ -2159,7 +2157,7 @@ mod file_action_test {
                 self.next += 1;
                 return Ok(Some(oio::Entry::new(
                     "objects/first.txt",
-                    Metadata::new(EntryMode::FILE).with_content_length(1),
+                    MetadataBuilder::file(1).build(),
                 )));
             }
 
diff --git a/crates/paimon/src/io/storage_jindo.rs 
b/crates/paimon/src/io/storage_jindo.rs
index 2e080aad..0538d3c9 100644
--- a/crates/paimon/src/io/storage_jindo.rs
+++ b/crates/paimon/src/io/storage_jindo.rs
@@ -25,7 +25,7 @@ use std::sync::{Arc, Mutex, OnceLock};
 
 use libloading::Library;
 use opendal::raw::*;
-use opendal::{Buffer, Builder, BytesRange, Capability, EntryMode, ErrorKind, 
Metadata};
+use opendal::{Buffer, Builder, BytesRange, Capability, ErrorKind, Metadata, 
MetadataBuilder};
 use opendal::{Error as OpendalError, OperationContext, Operator, Result as 
OpendalResult};
 use tokio::sync::{OnceCell, Semaphore};
 
@@ -280,6 +280,7 @@ impl Service for JindoService {
     type Lister = JindoLister;
     type Deleter = ();
     type Copier = ();
+    type Composer = ();
 
     fn info(&self) -> ServiceInfo {
         self.info.clone()
@@ -365,7 +366,6 @@ impl Service for JindoService {
         _from: &str,
         _to: &str,
         _args: OpCopy,
-        _opts: OpCopier,
     ) -> OpendalResult<Self::Copier> {
         unsupported("copy")
     }
@@ -997,18 +997,17 @@ impl JindoClient {
     }
 
     fn file_status_metadata(&self, status: JdoPtr) -> OpendalResult<Metadata> {
-        let mode = match unsafe { (self.api.file_status_type)(status) } {
-            1 => EntryMode::DIR,
-            2 => EntryMode::FILE,
-            _ => EntryMode::Unknown,
-        };
         let size = unsafe { (self.api.file_status_size)(status) };
         let mtime = unsafe { (self.api.file_status_mtime)(status) };
-        let mut metadata = Metadata::new(mode).with_content_length(size.max(0) 
as u64);
+        let mut metadata = match unsafe { (self.api.file_status_type)(status) 
} {
+            1 => MetadataBuilder::dir(),
+            2 => MetadataBuilder::file(size.max(0) as u64),
+            _ => MetadataBuilder::unknown(),
+        };
         if mtime > 0 {
-            metadata.set_last_modified(Timestamp::from_millisecond(mtime)?);
+            metadata.last_modified(Timestamp::from_millisecond(mtime)?);
         }
-        Ok(metadata)
+        Ok(metadata.build())
     }
 
     fn read(&self, path: &str, range: BytesRange) -> OpendalResult<Vec<u8>> {
diff --git a/crates/paimon/src/io/storage_oss_cpp.rs 
b/crates/paimon/src/io/storage_oss_cpp.rs
index c0ecb8dd..50127278 100644
--- a/crates/paimon/src/io/storage_oss_cpp.rs
+++ b/crates/paimon/src/io/storage_oss_cpp.rs
@@ -23,7 +23,9 @@ use std::sync::Arc;
 
 use libloading::Library;
 use opendal::raw::*;
-use opendal::{Buffer, Builder, BytesRange, Capability, EntryMode, Error, 
ErrorKind, Metadata};
+use opendal::{
+    Buffer, Builder, BytesRange, Capability, Error, ErrorKind, Metadata, 
MetadataBuilder,
+};
 use opendal::{OperationContext, Operator, Result};
 use tokio::sync::{OnceCell, Semaphore};
 
@@ -215,6 +217,7 @@ impl Service for CppService {
     type Lister = CppLister;
     type Deleter = ();
     type Copier = ();
+    type Composer = ();
 
     fn info(&self) -> ServiceInfo {
         self.info.clone()
@@ -266,14 +269,7 @@ impl Service for CppService {
     fn delete(&self, _: &OperationContext) -> Result<Self::Deleter> {
         unsupported()
     }
-    fn copy(
-        &self,
-        _: &OperationContext,
-        _: &str,
-        _: &str,
-        _: OpCopy,
-        _: OpCopier,
-    ) -> Result<Self::Copier> {
+    fn copy(&self, _: &OperationContext, _: &str, _: &str, _: OpCopy) -> 
Result<Self::Copier> {
         unsupported()
     }
     async fn rename(
@@ -591,14 +587,14 @@ impl Client {
     }
     fn stat(&self, key: &str) -> Result<Metadata> {
         if key.is_empty() {
-            return Ok(Metadata::new(EntryMode::DIR));
+            return Ok(MetadataBuilder::dir().build());
         }
         if key.ends_with('/') {
             let (entries, _) = self.list(key, "", true, 1)?;
             return if entries.is_empty() {
                 Err(Error::new(ErrorKind::NotFound, "OSS directory not found"))
             } else {
-                Ok(Metadata::new(EntryMode::DIR))
+                Ok(MetadataBuilder::dir().build())
             };
         }
         let key = cstring(key)?;
@@ -755,15 +751,18 @@ unsafe extern "C" fn collect_entry(
 fn metadata(size: i64, modified: &str, dir: bool) -> Result<Metadata> {
     let size = u64::try_from(size)
         .map_err(|_| Error::new(ErrorKind::Unexpected, "Negative object 
size"))?;
-    let mut meta = Metadata::new(if dir { EntryMode::DIR } else { 
EntryMode::FILE });
-    meta.set_content_length(size);
+    let mut meta = if dir {
+        MetadataBuilder::dir()
+    } else {
+        MetadataBuilder::file(size)
+    };
     if !modified.is_empty() {
         let time = chrono::DateTime::parse_from_rfc2822(modified)
             .or_else(|_| chrono::DateTime::parse_from_rfc3339(modified))
             .map_err(|_| Error::new(ErrorKind::Unexpected, "Invalid object 
modification time"))?;
-        
meta.set_last_modified(Timestamp::from_millisecond(time.timestamp_millis())?);
+        
meta.last_modified(Timestamp::from_millisecond(time.timestamp_millis())?);
     }
-    Ok(meta)
+    Ok(meta.build())
 }
 fn cstring(value: &str) -> Result<CString> {
     CString::new(value).map_err(|_| Error::new(ErrorKind::ConfigInvalid, "NUL 
in OSS C++ input"))
diff --git a/crates/paimon/src/io/storage_oss_cpp_test.rs 
b/crates/paimon/src/io/storage_oss_cpp_test.rs
index 21085258..f4031347 100644
--- a/crates/paimon/src/io/storage_oss_cpp_test.rs
+++ b/crates/paimon/src/io/storage_oss_cpp_test.rs
@@ -126,6 +126,25 @@ fn malformed_metadata_and_error_mapping() {
     }
 }
 
+#[test]
+fn metadata_preserves_file_size_directory_mode_and_modification_time() {
+    let modified = "2025-01-01T00:00:00Z";
+    let expected_time = 
Timestamp::from_millisecond(1_735_689_600_000).unwrap();
+    let file = metadata(17, modified, false).unwrap();
+    assert!(file.is_file());
+    assert_eq!(file.content_length(), 17);
+    assert_eq!(file.last_modified(), Some(expected_time));
+
+    let directory = metadata(0, modified, true).unwrap();
+    assert!(directory.is_dir());
+    assert_eq!(directory.last_modified(), Some(expected_time));
+
+    let empty_file = metadata(0, "", false).unwrap();
+    assert!(empty_file.is_file());
+    assert_eq!(empty_file.content_length(), 0);
+    assert_eq!(empty_file.last_modified(), None);
+}
+
 #[derive(Clone, Default)]
 struct Mock {
     retries: Arc<AtomicUsize>,
diff --git a/crates/paimon/tests/dynamic_bucket_write_test.rs 
b/crates/paimon/tests/dynamic_bucket_write_test.rs
index ffeb2d92..7e412d76 100644
--- a/crates/paimon/tests/dynamic_bucket_write_test.rs
+++ b/crates/paimon/tests/dynamic_bucket_write_test.rs
@@ -115,6 +115,7 @@ fn dynamic_write_rejects_custom_bucket_keys() {
 /// HashMap iteration order. Record physical data/index paths to verify 
ownership.
 #[derive(Debug)]
 struct FailSecondHash {
+    root: std::path::PathBuf,
     operator: opendal::Operator,
     indexes: std::sync::Mutex<Vec<String>>,
     data: std::sync::Mutex<Vec<String>>,
@@ -124,6 +125,12 @@ struct FailSecondHash {
 impl paimon::io::FileIOProvider for FailSecondHash {
     async fn create(&self, path: &str) -> paimon::Result<(opendal::Operator, 
String)> {
         let path = path.strip_prefix("file://").unwrap_or(path);
+        let relative = std::path::Path::new(path)
+            .strip_prefix(&self.root)
+            .unwrap()
+            .to_str()
+            .unwrap()
+            .replace(std::path::MAIN_SEPARATOR, "/");
         let name = path.rsplit('/').next().unwrap();
         if name.starts_with("index-") && path.contains("/index/") {
             let mut indexes = self.indexes.lock().unwrap();
@@ -140,10 +147,7 @@ impl paimon::io::FileIOProvider for FailSecondHash {
         if name.ends_with(".parquet") {
             self.data.lock().unwrap().push(path.to_string());
         }
-        Ok((
-            self.operator.clone(),
-            path.trim_start_matches('/').to_string(),
-        ))
+        Ok((self.operator.clone(), relative))
     }
 }
 
@@ -156,8 +160,9 @@ async fn failed_hash_prepare_cleans_indexes_and_data() {
 
     let tmp = tempfile::tempdir().unwrap();
     let mut config = opendal_service_fs::FsConfig::default();
-    config.root = Some("/".into());
+    config.root = Some(tmp.path().to_str().unwrap().into());
     let provider = Arc::new(FailSecondHash {
+        root: tmp.path().to_path_buf(),
         operator: opendal::Operator::from_config(config).unwrap(),
         indexes: Default::default(),
         data: Default::default(),
@@ -211,8 +216,9 @@ async fn 
failed_later_prepare_preserves_returned_and_committed_files() {
     for publish_first in [false, true] {
         let tmp = tempfile::tempdir().unwrap();
         let mut config = opendal_service_fs::FsConfig::default();
-        config.root = Some("/".into());
+        config.root = Some(tmp.path().to_str().unwrap().into());
         let provider = Arc::new(FailSecondHash {
+            root: tmp.path().to_path_buf(),
             operator: opendal::Operator::from_config(config).unwrap(),
             indexes: Default::default(),
             data: Default::default(),

Reply via email to