fix(ecstore): support MinIO DARE fixture compatibility (#3590)

This commit is contained in:
houseme
2026-06-19 10:13:39 +08:00
committed by GitHub
parent 80b1fca02a
commit 8cf3c0bfbd
13 changed files with 563 additions and 270 deletions
Generated
+159 -132
View File
@@ -81,17 +81,6 @@ dependencies = [
"zeroize",
]
[[package]]
name = "ahash"
version = "0.7.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9"
dependencies = [
"getrandom 0.2.17",
"once_cell",
"version_check",
]
[[package]]
name = "ahash"
version = "0.8.12"
@@ -132,9 +121,9 @@ checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3"
[[package]]
name = "alloc-stdlib"
version = "0.2.2"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94fb8275041c72129eb51b7d0322c29b8387a0386127718b096429201a5d6ece"
checksum = "0e76a019e91224d279006ff972f1e984179a6e9feb050adba6ce8274aef23195"
dependencies = [
"alloc-no-stdlib",
]
@@ -388,7 +377,7 @@ version = "58.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cfd33d3e92f207444098c75b42de99d329562be0cf686b307b097cc52b4e999e"
dependencies = [
"ahash 0.8.12",
"ahash",
"arrow-buffer",
"arrow-data",
"arrow-schema",
@@ -546,7 +535,7 @@ version = "58.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8cd065c54172ac787cf3f2f8d4107e0d3fdc26edba76fdf4f4cc170258942222"
dependencies = [
"ahash 0.8.12",
"ahash",
"arrow-array",
"arrow-buffer",
"arrow-data",
@@ -1637,9 +1626,9 @@ dependencies = [
[[package]]
name = "brotli-decompressor"
version = "5.0.1"
version = "5.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5962523e1b92ce1b5e793d9169b9943eece10d39f62550bc04bb605d75b94924"
checksum = "3a32acac15fe1967bc3986b2a6347dffc965602354ea6f450ad07e8bfd253583"
dependencies = [
"alloc-no-stdlib",
"alloc-stdlib",
@@ -2606,7 +2595,7 @@ dependencies = [
"hashbrown 0.14.5",
"lock_api",
"once_cell",
"parking_lot_core 0.9.12",
"parking_lot_core",
]
[[package]]
@@ -2658,7 +2647,7 @@ dependencies = [
"liblzma",
"log",
"object_store",
"parking_lot 0.12.5",
"parking_lot",
"parquet",
"sqlparser",
"tempfile",
@@ -2689,7 +2678,7 @@ dependencies = [
"itertools 0.14.0",
"log",
"object_store",
"parking_lot 0.12.5",
"parking_lot",
"tokio",
]
@@ -2781,7 +2770,7 @@ dependencies = [
"liblzma",
"log",
"object_store",
"parking_lot 0.12.5",
"parking_lot",
"rand 0.9.4",
"tokio",
"tokio-util",
@@ -2885,7 +2874,7 @@ dependencies = [
"itertools 0.14.0",
"log",
"object_store",
"parking_lot 0.12.5",
"parking_lot",
"parquet",
"tokio",
]
@@ -2912,7 +2901,7 @@ dependencies = [
"futures",
"log",
"object_store",
"parking_lot 0.12.5",
"parking_lot",
"rand 0.9.4",
"tempfile",
"url",
@@ -3056,7 +3045,7 @@ dependencies = [
"datafusion-expr",
"datafusion-physical-expr",
"datafusion-physical-plan",
"parking_lot 0.12.5",
"parking_lot",
]
[[package]]
@@ -3133,7 +3122,7 @@ dependencies = [
"hashbrown 0.17.1",
"indexmap 2.14.0",
"itertools 0.14.0",
"parking_lot 0.12.5",
"parking_lot",
"petgraph 0.8.3",
"recursive",
"tokio",
@@ -3167,7 +3156,7 @@ dependencies = [
"hashbrown 0.17.1",
"indexmap 2.14.0",
"itertools 0.14.0",
"parking_lot 0.12.5",
"parking_lot",
"pin-project",
]
@@ -3218,7 +3207,7 @@ dependencies = [
"itertools 0.14.0",
"log",
"num-traits",
"parking_lot 0.12.5",
"parking_lot",
"pin-project-lite",
"tokio",
]
@@ -3250,7 +3239,7 @@ dependencies = [
"datafusion-execution",
"datafusion-expr",
"datafusion-physical-plan",
"parking_lot 0.12.5",
"parking_lot",
]
[[package]]
@@ -3293,7 +3282,7 @@ dependencies = [
"log",
"lru 0.16.4",
"mime_guess",
"parking_lot 0.12.5",
"parking_lot",
"percent-encoding",
"pin-project-lite",
"reflink-copy",
@@ -4671,9 +4660,6 @@ name = "hashbrown"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
dependencies = [
"ahash 0.7.8",
]
[[package]]
name = "hashbrown"
@@ -4715,6 +4701,15 @@ dependencies = [
"serde_core",
]
[[package]]
name = "hashlink"
version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a5081f264ed7adee96ea4b4778b6bb9da0a7228b084587aa3bd3ff05da7c5a3b"
dependencies = [
"hashbrown 0.17.1",
]
[[package]]
name = "headers"
version = "0.4.1"
@@ -4843,7 +4838,7 @@ dependencies = [
"moka",
"ndk-context",
"once_cell",
"parking_lot 0.12.5",
"parking_lot",
"rand 0.10.1",
"resolv-conf",
"smallvec",
@@ -5252,7 +5247,7 @@ version = "0.11.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "232929e1d75fe899576a3d5c7416ad0d88dbfbb3c3d6aa00873a7408a50ddb88"
dependencies = [
"ahash 0.8.12",
"ahash",
"indexmap 2.14.0",
"is-terminal",
"itoa",
@@ -5270,7 +5265,7 @@ version = "0.12.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "90807d610575744524d9bdc69f3885d96f0e6c3354565b0828354a7ff2a262b8"
dependencies = [
"ahash 0.8.12",
"ahash",
"clap",
"crossbeam-channel",
"crossbeam-utils",
@@ -5306,15 +5301,6 @@ dependencies = [
"hybrid-array",
]
[[package]]
name = "instant"
version = "0.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222"
dependencies = [
"cfg-if",
]
[[package]]
name = "integer-encoding"
version = "3.0.4"
@@ -5934,15 +5920,6 @@ version = "0.4.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "953f07c43838f8e6f9758cab68bf5bed85465e7587ebe0b823f1bcd81978ad3a"
[[package]]
name = "lru"
version = "0.7.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e999beba7b6e8345721bd280141ed958096a2e4abdf74f67ff4ce49b4b54e47a"
dependencies = [
"hashbrown 0.12.3",
]
[[package]]
name = "lru"
version = "0.16.4"
@@ -6226,7 +6203,7 @@ version = "0.1.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ae9e23184d81616fcdfcdc5768e14c2bca765096094d08e7895259fe658378e4"
dependencies = [
"ahash 0.8.12",
"ahash",
"crossbeam-queue",
"crossbeam-utils",
"metrics",
@@ -6366,7 +6343,7 @@ dependencies = [
"equivalent",
"event-listener",
"futures-util",
"parking_lot 0.12.5",
"parking_lot",
"portable-atomic",
"smallvec",
"tagptr",
@@ -6490,7 +6467,7 @@ dependencies = [
"libc",
"log",
"neli-proc-macros",
"parking_lot 0.12.5",
"parking_lot",
]
[[package]]
@@ -6917,7 +6894,7 @@ dependencies = [
"http 1.4.2",
"humantime",
"itertools 0.14.0",
"parking_lot 0.12.5",
"parking_lot",
"percent-encoding",
"thiserror 2.0.18",
"tokio",
@@ -7253,17 +7230,6 @@ version = "2.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba"
[[package]]
name = "parking_lot"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99"
dependencies = [
"instant",
"lock_api",
"parking_lot_core 0.8.6",
]
[[package]]
name = "parking_lot"
version = "0.12.5"
@@ -7271,21 +7237,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
dependencies = [
"lock_api",
"parking_lot_core 0.9.12",
]
[[package]]
name = "parking_lot_core"
version = "0.8.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc"
dependencies = [
"cfg-if",
"instant",
"libc",
"redox_syscall 0.2.16",
"smallvec",
"winapi",
"parking_lot_core",
]
[[package]]
@@ -7296,7 +7248,7 @@ checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
dependencies = [
"cfg-if",
"libc",
"redox_syscall 0.5.18",
"redox_syscall",
"smallvec",
"windows-link",
]
@@ -7307,7 +7259,7 @@ version = "58.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5dafa7d01085b62a47dd0c1829550a0a36710ea9c4fe358a05a85477cec8a908"
dependencies = [
"ahash 0.8.12",
"ahash",
"arrow-array",
"arrow-buffer",
"arrow-data",
@@ -7928,7 +7880,7 @@ dependencies = [
"fnv",
"lazy_static",
"memchr",
"parking_lot 0.12.5",
"parking_lot",
"thiserror 2.0.18",
]
@@ -8308,7 +8260,7 @@ dependencies = [
"once_cell",
"socket2",
"tracing",
"windows-sys 0.59.0",
"windows-sys 0.60.2",
]
[[package]]
@@ -8453,7 +8405,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5dc94ed8e3de45f6d8d052869d48c0dbeebcaa7a6c345ec7f0f917e10347428e"
dependencies = [
"clocksource",
"parking_lot 0.12.5",
"parking_lot",
"thiserror 2.0.18",
]
@@ -8566,15 +8518,6 @@ dependencies = [
"xxhash-rust",
]
[[package]]
name = "redox_syscall"
version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
dependencies = [
"bitflags 1.3.2",
]
[[package]]
name = "redox_syscall"
version = "0.5.18"
@@ -8595,21 +8538,6 @@ dependencies = [
"thiserror 2.0.18",
]
[[package]]
name = "reed-solomon-erasure"
version = "6.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7263373d500d4d4f505d43a2a662d475a894aa94503a1ee28e9188b5f3960d4f"
dependencies = [
"cc",
"libc",
"libm",
"lru 0.7.8",
"parking_lot 0.11.2",
"smallvec",
"spin 0.9.8",
]
[[package]]
name = "reed-solomon-simd"
version = "3.1.0"
@@ -9090,6 +9018,7 @@ dependencies = [
"base64 0.22.1",
"base64-simd",
"bytes",
"chacha20poly1305",
"clap",
"const-str",
"datafusion",
@@ -9333,6 +9262,7 @@ dependencies = [
"byteorder",
"bytes",
"bytesize",
"chacha20poly1305",
"chrono",
"criterion",
"enumset",
@@ -9359,14 +9289,13 @@ dependencies = [
"num_cpus",
"opentelemetry",
"opentelemetry_sdk",
"parking_lot 0.12.5",
"parking_lot",
"path-absolutize",
"pin-project-lite",
"proptest",
"quick-xml 0.40.1",
"rand 0.10.1",
"ratelimit",
"reed-solomon-erasure",
"reed-solomon-simd",
"regex",
"reqwest",
@@ -9378,6 +9307,7 @@ dependencies = [
"rustfs-config",
"rustfs-credentials",
"rustfs-data-usage",
"rustfs-erasure-codec",
"rustfs-filemeta",
"rustfs-io-metrics",
"rustfs-kms",
@@ -9422,6 +9352,22 @@ dependencies = [
"xxhash-rust",
]
[[package]]
name = "rustfs-erasure-codec"
version = "7.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fcda6886ece4bfc6917640007a6b9693dc8424a9412d18c3dda5be2431500f31"
dependencies = [
"cc",
"hashlink",
"libc",
"libm",
"parking_lot",
"rayon",
"smallvec",
"spin 0.12.0",
]
[[package]]
name = "rustfs-extension-schema"
version = "1.0.0-beta.8"
@@ -9656,7 +9602,7 @@ dependencies = [
"async-trait",
"crossbeam-queue",
"futures",
"parking_lot 0.12.5",
"parking_lot",
"rustfs-io-metrics",
"rustfs-utils",
"serde",
@@ -9932,6 +9878,7 @@ version = "1.0.0-beta.8"
dependencies = [
"aes-gcm",
"bytes",
"chacha20poly1305",
"hex",
"hmac 0.13.0",
"minlz",
@@ -9975,7 +9922,7 @@ dependencies = [
"http 1.4.2",
"metrics",
"object_store",
"parking_lot 0.12.5",
"parking_lot",
"pin-project-lite",
"rustfs-common",
"rustfs-ecstore",
@@ -9999,7 +9946,7 @@ dependencies = [
"datafusion",
"derive_builder",
"futures",
"parking_lot 0.12.5",
"parking_lot",
"rustfs-s3select-api",
"s3s",
"snafu 0.9.1",
@@ -10092,7 +10039,7 @@ dependencies = [
"libc",
"metrics",
"mysql_async",
"parking_lot 0.12.5",
"parking_lot",
"pulsar",
"redis",
"regex",
@@ -10785,7 +10732,7 @@ dependencies = [
"futures-util",
"log",
"once_cell",
"parking_lot 0.12.5",
"parking_lot",
"serial_test_derive",
]
@@ -11121,6 +11068,12 @@ dependencies = [
"lock_api",
]
[[package]]
name = "spin"
version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1527984ca054dfca79333baec451042863f485fbee01b7bf6d911de915cac865"
[[package]]
name = "spki"
version = "0.7.3"
@@ -11518,7 +11471,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "96374855068f47402c3121c6eed88d29cb1de8f3ab27090e273e420bdabcf050"
dependencies = [
"futures",
"parking_lot 0.12.5",
"parking_lot",
]
[[package]]
@@ -11775,7 +11728,7 @@ dependencies = [
"io-uring",
"libc",
"mio",
"parking_lot 0.12.5",
"parking_lot",
"pin-project-lite",
"signal-hook-registry",
"slab",
@@ -11808,7 +11761,7 @@ dependencies = [
"futures-channel",
"futures-util",
"log",
"parking_lot 0.12.5",
"parking_lot",
"percent-encoding",
"phf 0.13.1",
"pin-project-lite",
@@ -12821,7 +12774,7 @@ version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
dependencies = [
"windows-targets",
"windows-targets 0.52.6",
]
[[package]]
@@ -12830,7 +12783,16 @@ version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
dependencies = [
"windows-targets",
"windows-targets 0.52.6",
]
[[package]]
name = "windows-sys"
version = "0.60.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
dependencies = [
"windows-targets 0.53.5",
]
[[package]]
@@ -12848,14 +12810,31 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
dependencies = [
"windows_aarch64_gnullvm",
"windows_aarch64_msvc",
"windows_i686_gnu",
"windows_i686_gnullvm",
"windows_i686_msvc",
"windows_x86_64_gnu",
"windows_x86_64_gnullvm",
"windows_x86_64_msvc",
"windows_aarch64_gnullvm 0.52.6",
"windows_aarch64_msvc 0.52.6",
"windows_i686_gnu 0.52.6",
"windows_i686_gnullvm 0.52.6",
"windows_i686_msvc 0.52.6",
"windows_x86_64_gnu 0.52.6",
"windows_x86_64_gnullvm 0.52.6",
"windows_x86_64_msvc 0.52.6",
]
[[package]]
name = "windows-targets"
version = "0.53.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3"
dependencies = [
"windows-link",
"windows_aarch64_gnullvm 0.53.1",
"windows_aarch64_msvc 0.53.1",
"windows_i686_gnu 0.53.1",
"windows_i686_gnullvm 0.53.1",
"windows_i686_msvc 0.53.1",
"windows_x86_64_gnu 0.53.1",
"windows_x86_64_gnullvm 0.53.1",
"windows_x86_64_msvc 0.53.1",
]
[[package]]
@@ -12873,48 +12852,96 @@ version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
[[package]]
name = "windows_aarch64_gnullvm"
version = "0.53.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53"
[[package]]
name = "windows_aarch64_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
[[package]]
name = "windows_aarch64_msvc"
version = "0.53.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006"
[[package]]
name = "windows_i686_gnu"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
[[package]]
name = "windows_i686_gnu"
version = "0.53.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3"
[[package]]
name = "windows_i686_gnullvm"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
[[package]]
name = "windows_i686_gnullvm"
version = "0.53.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c"
[[package]]
name = "windows_i686_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
[[package]]
name = "windows_i686_msvc"
version = "0.53.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2"
[[package]]
name = "windows_x86_64_gnu"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
[[package]]
name = "windows_x86_64_gnu"
version = "0.53.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499"
[[package]]
name = "windows_x86_64_gnullvm"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
[[package]]
name = "windows_x86_64_gnullvm"
version = "0.53.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1"
[[package]]
name = "windows_x86_64_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
[[package]]
name = "windows_x86_64_msvc"
version = "0.53.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650"
[[package]]
name = "winnow"
version = "1.0.3"