feat(rio): rio_v2 is compatible with minio for storing data. (#3115)

* Set up a compatibility layer for replacing old Rio components with new ones.

* fix(rio). compress range

* feat(rio). Add the experimental feature rio_v2 to support minio data at the binary level.

* feat(rio_v2): add sse-c test

* test compression component

* simple fix

* fix minlz encode

* fix metadata

* fix kms key cache error

* Update launch.json

* ci: set nix crate download user agent

* fix: gate obs pyroscope backend

* ignore minio test

* fix encrypt check

* fix

* fix

* fix

* Update object_usecase.rs

* Update ci.yml

* fix

* ci add rio-v2 test

* fix

* ci fix

* fix

* Reconstructed into a more reasonable compatibility mode

* fix

* fix

---------

Signed-off-by: houseme <housemecn@gmail.com>
Signed-off-by: 唐小鸭 <tangtang1251@qq.com>
Co-authored-by: houseme <housemecn@gmail.com>
Co-authored-by: cxymds <Cxymds@qq.com>
Co-authored-by: 安正超 <anzhengchao@gmail.com>
This commit is contained in:
唐小鸭
2026-06-08 19:59:14 +08:00
committed by GitHub
parent 9504dff595
commit f7724d223b
47 changed files with 8742 additions and 682 deletions
Generated
+32
View File
@@ -6255,6 +6255,15 @@ dependencies = [
"simd-adler32",
]
[[package]]
name = "minlz"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20c19c645132db7e3664aabe291a16896f601053c6b5f567f4c5a196e6817827"
dependencies = [
"crc",
]
[[package]]
name = "mio"
version = "1.2.1"
@@ -9047,6 +9056,7 @@ dependencies = [
"futures-util",
"hashbrown 0.17.1",
"hex-simd",
"hmac 0.13.0",
"http 1.4.1",
"http-body 1.0.1",
"http-body-util",
@@ -9328,6 +9338,7 @@ dependencies = [
"rustfs-policy",
"rustfs-protos",
"rustfs-rio",
"rustfs-rio-v2",
"rustfs-s3-types",
"rustfs-signer",
"rustfs-tls-runtime",
@@ -9846,6 +9857,27 @@ dependencies = [
"tracing",
]
[[package]]
name = "rustfs-rio-v2"
version = "1.0.0-beta.7"
dependencies = [
"aes-gcm",
"bytes",
"hex",
"hmac 0.13.0",
"minlz",
"pin-project-lite",
"rand 0.10.1",
"rustfs-filemeta",
"rustfs-rio",
"rustfs-utils",
"serde",
"serde_json",
"sha2 0.11.0",
"tokio",
"walkdir",
]
[[package]]
name = "rustfs-s3-ops"
version = "1.0.0-beta.7"